experimental QDBM TXN patch

Stefan Bellon sbellon at sbellon.de
Tue Nov 9 07:27:21 CET 2004


Matthias Andree wrote:
> Stefan Bellon <sbellon at sbellon.de> writes:

> > Matthias Andree wrote:
> >> OK, here's the second try of transactions for QDBM. Turns out QDBM
> >> allows transactions only for writer database handles.
> >
> > This patch never sets handle->writer. So either, the transaction
> > code always returns DST_OK without vltran* really being used (as
> > !handle->writer is always true) or your patch isn't complete.

> Something's jinxed... next version enclosed:

That's working. However it is _so_ slow compared to the non-txn
version, I think I will turn txn off. Is there a define that is already
used to turn of txn for BerkeleyDB that can be used for QDBM as well?

-- 
Stefan Bellon



More information about the bogofilter-dev mailing list