Re: DB backend support for lmdb?
Steffen Nurpmeso <[email protected]> Thu, 19 Jul 2018 22:22:41 +0200
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Message-ID | <20180719202241.zKbYE%[email protected]> |
Oh my goodness... Steffen Nurpmeso wrote in <20180719193041.33VX0%[email protected]>: |Matthias Andree wrote in <[email protected]>: ||Am 18.07.2018 um 01:19 schrieb Matthias Andree: ||> Before doing further development, please switch to ||> ^/branches/lmdb-support and/or update. I'm heading for bed now that ||> r7064 has been committed. || ||...make that r7065. | |All tests pass for me now. Yes, but there is one little error nonetheless, as below. Thank you, Matthias. I have just installed bogofilter/LMDB in ~/! Ciao. diff --git a/bogofilter/src/datastore_lmdb.c b/bogofilter/src/datastore_lmdb.c index 6ea128c..728f0d2 100644 --- a/bogofilter/src/datastore_lmdb.c +++ b/bogofilter/src/datastore_lmdb.c @@ -332,6 +332,7 @@ a_bflm_txn_begin(void *vhandle){ fprintf(dbgout, "LMDB[%ld]: txn_begin(%p [%s])\n", (long)getpid(), bflmp, bflmp->bflm_filepath); + bflmp->bflm_flags &= ~(a_BFLM_HAS_TXN | a_BFLM_DB_UNAVAIL); jredo_txn: e = mdb_txn_begin(bflmp->bflm_env, NULL, (bflmp->bflm_flags & a_BFLM_RDONLY ? MDB_RDONLY : 0), --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) _______________________________________________ bogofilter-dev mailing list [email protected] https://www.bogofilter.org/mailman/listinfo/bogofilter-dev