summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 2ecfa512793..3bb65a108e2 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -10078,9 +10078,8 @@ do_continue:;
#ifdef WITH_PARTITION_STORAGE_ENGINE
{
- if (prep_alter_part_table(thd, table_list, alter_info, create_info,
- &partition_changed, &fast_alter_partition,
- alter_ctx))
+ if (prep_alter_part_table(thd, table, alter_info, create_info,
+ &partition_changed, &fast_alter_partition))
{
DBUG_RETURN(true);
}