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

brong at andrew.cmu.edu brong at andrew.cmu.edu
Mon Jul 27 22:47:28 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_skiplist.c 
Log Message:
Handle skiplist foreach early exit

If a foreach callback returns a non-zero response, it exits early.
In the case where this is in a non-transactional foreach, this
caused an attempt to unlock an already unlocked database.

Keep a flag that shows if we need the unlock to make it really clear.


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


More information about the Cyrus-cvs mailing list