Mercurial > dovecot > core-2.2
changeset 9317:1ab11ad931d0 HEAD
Berkeley DB dict: Transactions should be aborted with abort(), not discard().
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 17 May 2009 20:34:35 -0400 |
parents | eb67ef194562 |
children | 92be0f90a9df |
files | src/lib-dict/dict-db.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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); }