nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

commit e72df545287c208c2275364b568643636d057e92
parent f3a5a019420221815386587e6bf43af391b2a1ef
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 11 Jul 2025 12:29:31 -0700

Revert "mem: search cursor close"

this is causing heap corruption on the windows
build

This reverts commit a8d6925a5b33ddbdd4306423527b5d8314f7dd36.

Diffstat:
Msrc/nostrdb.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/nostrdb.c b/src/nostrdb.c @@ -3083,7 +3083,6 @@ int ndb_search_profile(struct ndb_txn *txn, struct ndb_search *search, const cha search->key = k.mv_data; assert(v.mv_size == 8); search->profile_key = *((uint64_t*)v.mv_data); - mdb_cursor_close(search->cursor); return 1; }