From 8e193661d29494e14ff59e484020c51369f65aa4 Mon Sep 17 00:00:00 2001 From: Aleksey Midenkov Date: Mon, 9 Oct 2017 18:42:59 +0300 Subject: IB: vtq_notify_on_commit initialization fix --- storage/innobase/trx/trx0trx.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.1