1
0
mirror of git://jb55.com/damus synced 2024-09-16 02:03:45 +00:00
damus/nostrdb
William Casarin 8e361a9586 nostrdb/search: fix subtle bug with some newest-first text search
Due to the way the range queries work for newest-first searches, we can
have a situation where the MDB_SET_RANGE gets placed on either the
correct place or just after the correct place. To position the cursor
correctly, we jump back one if the search result prefix doesn't match.

Signed-off-by: William Casarin <jb55@jb55.com>
2023-12-02 13:44:03 -08:00
..
bindings ndb: update bindings 2023-10-23 10:39:27 +08:00
flatcc nostrdb: fix japanese profile names not loading 2023-11-02 10:20:40 +09:00
Test Migrate NostrDB files to shared app group file container 2023-11-21 10:39:27 -08:00
AsciiCharacter.swift ndb: make AsciiCharacter a CustomStringConvertible 2023-08-01 21:53:19 -07:00
copy-ndb ndb: remove patch from copy script, just use sed 2023-08-28 08:18:25 -07:00
jsmn.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
lmdb.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
mdb.c nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
memchr.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
midl.c nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
midl.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
Ndb.swift Migrate NostrDB files to shared app group file container 2023-11-21 10:39:27 -08:00
NdbNote.swift Make NostrDB (and related) code build under the new extension target as well. 2023-11-21 10:39:27 -08:00
NdbNote+.swift Make NostrDB (and related) code build under the new extension target as well. 2023-11-21 10:39:27 -08:00
NdbTagElem.swift ndb: switch to nostrdb notes 2023-08-03 13:20:36 -07:00
NdbTagIterator.swift ndb: sync up a few remaining NdbNote tag differences 2023-07-25 16:22:25 -07:00
NdbTagsIterator.swift ndb: switch profile queries to use transactions 2023-09-21 09:10:06 -04:00
NdbTxn.swift ndb: switch profile queries to use transactions 2023-09-21 09:10:06 -04:00
nostrdb.c nostrdb/search: fix subtle bug with some newest-first text search 2023-12-02 13:44:03 -08:00
nostrdb.h nostrdb/search: allow searching from newest-to-oldest and oldest-to-newest 2023-12-02 13:44:03 -08:00
protected_queue.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
random.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
secp256k1_ecdh.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
secp256k1_extrakeys.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
secp256k1_schnorrsig.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
secp256k1.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
threadpool.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
util.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00