nostrdb

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

commit cc5441febb9b5d99196da3d63c59734e9d182e85
parent 7e3651889ac7abc1e2e14ae9503e094bd2a4cdad
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 15 Jan 2025 08:02:03 -0800

fix compile issues on macOS

Signed-off-by: William Casarin <jb55@jb55.com>

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

diff --git a/src/nostrdb.c b/src/nostrdb.c @@ -4078,7 +4078,8 @@ int ndb_text_search_with(struct ndb_txn *txn, const char *query, struct ndb_word *search_word; struct ndb_note *note; struct cursor cur; - uint64_t since, until, timestamp_op, *pint, note_size; + uint64_t since, until, timestamp_op, *pint; + size_t note_size; ndb_text_search_key_order_fn key_order_fn; MDB_dbi text_db; MDB_cursor *cursor; @@ -4282,6 +4283,7 @@ int ndb_text_search_with(struct ndb_txn *txn, const char *query, } cont: + ; } done: