nostrdb

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

commit 464649828f88bb844caf573c4c82c47478f9c932
parent 68e997d91f73030df3d43816233601ea621538b2
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 14 Nov 2023 10:25:13 -0800

fix build

Diffstat:
Mnostrdb.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nostrdb.c b/nostrdb.c @@ -676,7 +676,7 @@ int ndb_get_tsid(struct ndb_txn *txn, enum ndb_dbs db, const unsigned char *id, k.mv_size = sizeof(tsid); if ((rc = mdb_cursor_open(txn->mdb_txn, txn->lmdb->dbs[db], &cur))) { - ndb_debug("ndb_get_tsid: failed to open cursor: '%s'\n", mdb_errstr(rc)); + ndb_debug("ndb_get_tsid: failed to open cursor: '%s'\n", mdb_strerror(rc)); return 0; }