mirror of
git://jb55.com/damus
synced 2024-10-04 19:00:42 +00:00
nostrdb/db: remove the DUPFIXED flag from the fulltext db
I don't think this technically makes any sense Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
fa0d5e7d03
commit
76aa1d3450
@ -3044,7 +3044,8 @@ static int ndb_init_lmdb(const char *filename, struct ndb_lmdb *lmdb, size_t map
|
|||||||
}
|
}
|
||||||
mdb_set_compare(txn, lmdb->dbs[NDB_DB_NOTE_KIND], ndb_u64_tsid_compare);
|
mdb_set_compare(txn, lmdb->dbs[NDB_DB_NOTE_KIND], ndb_u64_tsid_compare);
|
||||||
|
|
||||||
if ((rc = mdb_dbi_open(txn, "note_text", tsid_flags, &lmdb->dbs[NDB_DB_NOTE_TEXT]))) {
|
if ((rc = mdb_dbi_open(txn, "note_text", MDB_CREATE | MDB_DUPSORT,
|
||||||
|
&lmdb->dbs[NDB_DB_NOTE_TEXT]))) {
|
||||||
fprintf(stderr, "mdb_dbi_open id failed: %s\n", mdb_strerror(rc));
|
fprintf(stderr, "mdb_dbi_open id failed: %s\n", mdb_strerror(rc));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user