summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-06-30 18:50:30 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-06-30 18:50:30 +0300
commite16425ba97563650e0f627eb108a61df84759106 (patch)
tree785d17917d33eb057bcc676b9721f77922de2ee7
parentebe4c65e1da711ead126e1f2619dc60ba6774ca4 (diff)
downloadmariadb-git-e16425ba97563650e0f627eb108a61df84759106.tar.gz
Fix a compiler warning
-rw-r--r--storage/innobase/handler/ha_innodb.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index 56465ae1257..14b1cb477f4 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -13027,8 +13027,6 @@ create_table_info_t::set_tablespace_type(
int
create_table_info_t::initialize()
{
- trx_t* parent_trx;
-
DBUG_ENTER("create_table_info_t::initialize");
ut_ad(m_thd != NULL);
@@ -13050,7 +13048,7 @@ create_table_info_t::initialize()
/* Get the transaction associated with the current thd, or create one
if not yet created */
- parent_trx = check_trx_exists(m_thd);
+ check_trx_exists(m_thd);
DBUG_RETURN(0);
}