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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_alter.cc b/sql/sql_alter.cc
index 889eca2f4ba..747449f9718 100644
--- a/sql/sql_alter.cc
+++ b/sql/sql_alter.cc
@@ -440,8 +440,8 @@ bool Sql_cmd_alter_table::execute(THD *thd)
as for RENAME TO, as being done by SQLCOM_RENAME_TABLE
*/
if ((alter_info.partition_flags & ALTER_PARTITION_DROP) ||
+ (alter_info.partition_flags & ALTER_PARTITION_CONVERT_IN) ||
(alter_info.partition_flags & ALTER_PARTITION_CONVERT_OUT) ||
- (alter_info.partition_flags & ALTER_PARTITION_ADD_FROM_TABLE) ||
(alter_info.flags & ALTER_RENAME))
priv_needed|= DROP_ACL;