[Cyrus-CVS] src/cyrus/lib by brong

brong at andrew.cmu.edu brong at andrew.cmu.edu
Mon Mar 9 22:56:22 EDT 2009


Update of /afs/andrew.cmu.edu/system/cvs/src/cyrus/lib
In directory cyrus-devel-01.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/lib

Modified Files:
	cyrusdb_berkeley.c 
Log Message:
Don't abort BDB transaction on force delete of non-existant key

The check was being performed after the abort, causing mydelete
to return CYRUSDB_OK, but the transaction still to be aborted.
Oops.

Moved the check to directly after the db->del, which coincidentally
also removes the same bug from the !mytid path, which didn't even
check for force at all!


--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/cyrusdb_berkeley.c.diff?r1=1.22&r2=1.23


More information about the Cyrus-cvs mailing list