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

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


details:   http://hg.dovecot.org/dovecot-1.2/rev/c09602d2820c
changeset: 9050:c09602d2820c
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 6dec24ec8218 -r c09602d2820c src/lib-dict/dict-db.c
--- a/src/lib-dict/dict-db.c	Sun May 17 20:05:36 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