[cvs] bogofilter/src datastore_db.c,1.100,1.101

Matthias Andree matthias.andree at gmx.de
Tue Jun 8 09:38:48 CEST 2004


relson at users.sourceforge.net writes:

>      ret = db->open(db,
>  #if DB_AT_LEAST(4,1)
> -	    NULL,
> +    	    0,	/* TXN handle - we use autocommit instead */
>  #endif
>  	    file, database, type, flags, mode);
>  
> @@ -114,6 +117,7 @@
>  }

Close :)   A non-TXN environment will have no notion of a TXN handling,
passing a transaction handle here instead of NULL is likely to cause
EINVAL (22 on many machines).

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95



More information about the bogofilter-dev mailing list