Commit d2f07538 authored by marko's avatar marko

branches/zip: trx_create(): Set trx->dict_operation directly, because

the assertion in trx_set_dict_operation() would read uninitialized data.
This mistake was made in r1998.
parent db361837
......@@ -97,7 +97,7 @@ trx_create(
trx->flush_log_later = FALSE;
trx->must_flush_log_later = FALSE;
trx_set_dict_operation(trx, TRX_DICT_OP_NONE);
trx->dict_operation = TRX_DICT_OP_NONE;
trx->table_id = ut_dulint_zero;
trx->mysql_thd = NULL;
......
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