From 1646ac75557e0d1d4158a1506b0c5c7dcfaf9f6c Mon Sep 17 00:00:00 2001 From: marko Date: Tue, 31 Jul 2007 18:46:55 +0000 Subject: [PATCH] check_trx_exists(): Remove a redundant function call and assignment that was added by someone at MySQL. --- handler/ha_innodb.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/handler/ha_innodb.cc b/handler/ha_innodb.cc index 93d4c812d35..10d0b9e6a25 100644 --- a/handler/ha_innodb.cc +++ b/handler/ha_innodb.cc @@ -947,8 +947,6 @@ check_trx_exists( /* Update the info whether we should skip XA steps that eat CPU time */ trx->support_xa = THDVAR(thd, support_xa); - - thd_to_trx(thd) = trx; } else { if (trx->magic_n != TRX_MAGIC_N) { mem_analyze_corruption(trx);