summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2017-10-09 18:42:59 +0300
committerAleksey Midenkov <midenok@gmail.com>2017-10-09 18:43:04 +0300
commit8e193661d29494e14ff59e484020c51369f65aa4 (patch)
treef2021335568e7ef32d67215d648d16a348027045
parentd7a484b04feb184cf697122f63f821f338c35769 (diff)
downloadmariadb-git-8e193661d29494e14ff59e484020c51369f65aa4.tar.gz
IB: vtq_notify_on_commit initialization fix
-rw-r--r--storage/innobase/trx/trx0trx.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/trx/trx0trx.cc b/storage/innobase/trx/trx0trx.cc
index a7d0071c67e..1dc844cd1c9 100644
--- a/storage/innobase/trx/trx0trx.cc
+++ b/storage/innobase/trx/trx0trx.cc
@@ -145,6 +145,8 @@ trx_init(
trx->check_unique_secondary = true;
+ trx->vtq_notify_on_commit = false;
+
trx->lock.n_rec_locks = 0;
trx->dict_operation = TRX_DICT_OP_NONE;
@@ -1363,7 +1365,6 @@ trx_start_low(
trx->start_time_micro += trx->start_time * 1000000;
}
- trx->vtq_notify_on_commit = false;
ut_a(trx->error_state == DB_SUCCESS);
MONITOR_INC(MONITOR_TRX_ACTIVE);