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

dovecot at dovecot.org dovecot at dovecot.org
Mon May 18 03:35:02 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/1ab11ad931d0
changeset: 9317:1ab11ad931d0
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 17 20:34:35 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 eb67ef194562 -r 1ab11ad931d0 src/lib-dict/dict-db.c
--- a/src/lib-dict/dict-db.c	Sun May 17 18:45:23 2009 -0400
+++ b/src/lib-dict/dict-db.c	Sun May 17 20:34:35 2009 -0400
@@ -388,7 +388,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