1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

fix compilation w/o partitioning

followup for d8da920264
This commit is contained in:
Sergei Golubchik
2018-06-14 09:08:41 +02:00
parent 5d6b7f46fb
commit 776fc87686
4 changed files with 2 additions and 5 deletions

View File

@ -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