Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9050:c09602d2820c 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 | 6dec24ec8218 |
children | eb748e01a42b |
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 20:05:36 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); }