Commit 1646ac75 authored by marko's avatar marko

check_trx_exists(): Remove a redundant function call and assignment that

was added by someone at MySQL.
parent f51a14a1
...@@ -947,8 +947,6 @@ check_trx_exists( ...@@ -947,8 +947,6 @@ check_trx_exists(
/* Update the info whether we should skip XA steps that eat /* Update the info whether we should skip XA steps that eat
CPU time */ CPU time */
trx->support_xa = THDVAR(thd, support_xa); trx->support_xa = THDVAR(thd, support_xa);
thd_to_trx(thd) = trx;
} else { } else {
if (trx->magic_n != TRX_MAGIC_N) { if (trx->magic_n != TRX_MAGIC_N) {
mem_analyze_corruption(trx); mem_analyze_corruption(trx);
......
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