summaryrefslogtreecommitdiff
path: root/sql/sql_alter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_alter.cc')
-rw-r--r--sql/sql_alter.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_alter.cc b/sql/sql_alter.cc
index 3a9ba07d7a1..dbb138ed9ab 100644
--- a/sql/sql_alter.cc
+++ b/sql/sql_alter.cc
@@ -304,9 +304,6 @@ bool Sql_cmd_alter_table::execute(THD *thd)
create_info.data_file_name= create_info.index_file_name= NULL;
thd->enable_slow_log= opt_log_slow_admin_statements;
-#ifdef WITH_PARTITION_STORAGE_ENGINE
- thd->work_part_info= 0;
-#endif
#ifdef WITH_WSREP
if ((!thd->is_current_stmt_binlog_format_row() ||