nostrdb: mem: search cursor close
This commit is contained in:
committed by
Daniel D’Aquino
parent
b5079c42d5
commit
84839d1c43
@@ -3080,6 +3080,7 @@ int ndb_search_profile(struct ndb_txn *txn, struct ndb_search *search, const cha
|
|||||||
search->key = k.mv_data;
|
search->key = k.mv_data;
|
||||||
assert(v.mv_size == 8);
|
assert(v.mv_size == 8);
|
||||||
search->profile_key = *((uint64_t*)v.mv_data);
|
search->profile_key = *((uint64_t*)v.mv_data);
|
||||||
|
mdb_cursor_close(search->cursor);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user