nostrdb

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

commit c443626eb1cdd97439212bea12815e4460553d9e
parent 38192e384b588b464ea7eb9707476116f5b80f47
Author: William Casarin <jb55@jb55.com>
Date:   Wed,  9 Apr 2025 11:33:51 -0700

eq: fix fallthrough bug

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

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

diff --git a/src/nostrdb.c b/src/nostrdb.c @@ -1382,6 +1382,7 @@ static int ndb_filter_field_eq(struct ndb_filter *a_filt, b_custom = ndb_filter_get_custom_element(b_filt, b_field); if (memcmp(a_custom, b_custom, sizeof(*a_custom))) return 0; + break; case NDB_ELEMENT_UNKNOWN: return 0; case NDB_ELEMENT_STRING: