[cvs] bogofilter/src datastore_db_trans.c,1.35,1.36
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: Matthias A. <m-...@us...> - 2005-06-29 10:09:55
|
Update of /cvsroot/bogofilter/bogofilter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4255/src Modified Files: datastore_db_trans.c Log Message: add a comment to probe_txn Index: datastore_db_trans.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/datastore_db_trans.c,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- datastore_db_trans.c 29 Jun 2005 10:05:23 -0000 1.35 +++ datastore_db_trans.c 29 Jun 2005 10:09:46 -0000 1.36 @@ -893,6 +893,10 @@ return T_ERROR; } + /* we might call dbe->set_flags here to set DB_NOPANIC, but this is + * only supported from 4.1 onwards and probably not worth the + * effort, we'll just check for DB_RUNRECOVERY */ + #if DB_AT_LEAST(3,2) r = dbe->open(dbe, bfp->dirname, DB_JOINENV, DS_MODE); #else |