summaryrefslogtreecommitdiff
path: root/storage/innodb_plugin/trx/trx0trx.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innodb_plugin/trx/trx0trx.c')
-rw-r--r--storage/innodb_plugin/trx/trx0trx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/innodb_plugin/trx/trx0trx.c b/storage/innodb_plugin/trx/trx0trx.c
index 7f3a3fcb4bf..80f079423fe 100644
--- a/storage/innodb_plugin/trx/trx0trx.c
+++ b/storage/innodb_plugin/trx/trx0trx.c
@@ -1008,6 +1008,8 @@ trx_commit_off_kernel(
ut_ad(UT_LIST_GET_LEN(trx->trx_locks) == 0);
UT_LIST_REMOVE(trx_list, trx_sys->trx_list, trx);
+
+ trx->error_state = DB_SUCCESS;
}
/****************************************************************//**