dovecot-1.1: Berkeley DB dict: Transactions should be aborted wi...

dovecot at dovecot.org dovecot at dovecot.org
Mon May 18 03:34:55 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/224c89c6c4ed
changeset: 8274:224c89c6c4ed
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 17 20:34:50 2009 -0400
description:
Berkeley DB dict: Transactions should be aborted with abort(), not discard().

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-dict/dict-db.c |    2 +-

diffs (12 lines):

diff -r 4ce7a60f3edd -r 224c89c6c4ed src/lib-dict/dict-db.c
--- a/src/lib-dict/dict-db.c	Sun May 17 20:04:52 2009 -0400
+++ b/src/lib-dict/dict-db.c	Sun May 17 20:34:50 2009 -0400
@@ -387,7 +387,7 @@ static void db_dict_transaction_rollback
 	struct db_dict_transaction_context *ctx =
 		(struct db_dict_transaction_context *)_ctx;
 
-	ctx->tid->discard(ctx->tid, 0);
+	ctx->tid->abort(ctx->tid);
 	i_free(ctx);
 }
 


More information about the dovecot-cvs mailing list