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"));
}
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).