summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-05-07 18:26:10 +0300
committerMonty <monty@mariadb.org>2017-05-08 02:33:35 +0300
commit1e04ad284c6ac0a9ce433f827bc6dbfbd6029007 (patch)
treeff59557c55b06495d93a3420e8aac09588a87a9d /sql/sql_table.cc
parent276b0c8ef03046cc210e4eeab7231cb8d9f16bac (diff)
downloadmariadb-git-1e04ad284c6ac0a9ce433f827bc6dbfbd6029007.tar.gz
Fixed compiler warnings and warnings from build.tags
Other things - Ensure that ut_d() is set to EXPR if ut_ad() is DEBUG_ASSERT() If not, we will get a crash in purge_sys_t::~purge_sys_t() as this ut_ad() code expect's that the ut_d() codes has been executed
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 813c74b60b2..2ad8c2d5562 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -2193,7 +2193,7 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
bool trans_tmp_table_deleted= 0, non_trans_tmp_table_deleted= 0;
bool non_tmp_table_deleted= 0;
bool is_drop_tmp_if_exists_added= 0;
- bool was_view= 0, was_table, is_sequence;
+ bool was_view= 0, was_table= 0, is_sequence;
String built_query;
String built_trans_tmp_query, built_non_trans_tmp_query;
DBUG_ENTER("mysql_rm_table_no_locks");