Commit a5a74334 authored by marko's avatar marko

branches/zip: trx_sys_init_at_db_start(): Initialize trx_dummy_sess

before calling trx_lists_init_at_db_start().  This was broken in r1594.
parent 1dbd4148
......@@ -944,6 +944,7 @@ trx_sys_init_at_db_start(void)
2 * TRX_SYS_TRX_ID_WRITE_MARGIN);
UT_LIST_INIT(trx_sys->mysql_trx_list);
trx_dummy_sess = sess_open();
trx_lists_init_at_db_start();
if (UT_LIST_GET_LEN(trx_sys->trx_list) > 0) {
......@@ -984,8 +985,6 @@ trx_sys_init_at_db_start(void)
trx_purge_sys_create();
trx_dummy_sess = sess_open();
mutex_exit(&kernel_mutex);
mtr_commit(&mtr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment