summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-06-14 09:08:41 +0200
committerSergei Golubchik <serg@mariadb.org>2018-06-14 18:06:44 +0200
commit776fc876862ccf6bc77938246bbab2b349d621a9 (patch)
treeb09b94a797e6816a456b4b7a2ccae3d230f7f37f /sql/sql_table.cc
parent5d6b7f46fb41207455dbed8aa07daefdb0b71451 (diff)
downloadmariadb-git-776fc876862ccf6bc77938246bbab2b349d621a9.tar.gz
fix compilation w/o partitioning
followup for d8da920264a
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 9637702d836..3c9146354d6 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -6060,7 +6060,6 @@ remove_key:
}
}
- DBUG_ASSERT(thd->work_part_info == 0);
#ifdef WITH_PARTITION_STORAGE_ENGINE
partition_info *tab_part_info= table->part_info;
thd->work_part_info= thd->lex->part_info;
@@ -8415,8 +8414,6 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
{
DBUG_ENTER("mysql_alter_table");
- thd->work_part_info= 0; // Used by partitioning
-
/*
Check if we attempt to alter mysql.slow_log or
mysql.general_log table and return an error if