diff --git a/storage/innobase/trx/trx0trx.cc b/storage/innobase/trx/trx0trx.cc index 1055b56..42c5446 100644 --- a/storage/innobase/trx/trx0trx.cc +++ b/storage/innobase/trx/trx0trx.cc @@ -226,7 +226,7 @@ struct TrxFactory { new (&trx->lock.table_locks) lock_pool_t(); new (&trx->hit_list) hit_list_t(); - + new(trx->read_view) ReadView(); trx_init(trx); trx->state = TRX_STATE_NOT_STARTED; @@ -302,6 +302,7 @@ struct TrxFactory { trx->lock.table_locks.~lock_pool_t(); trx->hit_list.~hit_list_t(); + trx->read_view->~ReadView(); } /** Enforce any invariants here, this is called before the transaction