Skip to content

Record current cursor #31

@stephenmathieson

Description

@stephenmathieson

Sophia gets confused when there's more than one cursor open on the same db.

Thoughts on sphia_t->cursor?

The following fails to remove "mykey" (assuming it's there).

void test_case() {
  void *c = sp_cursor(self->db, SPGT, NULL, 0);
  int count = sphia_count(self);
  sp_destroy(c);

  assert(0 == sphia_rm(self, "mykey"));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions