diff options
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 15a0b0a0f12..06cbc5ed70a 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -5050,8 +5050,8 @@ int st_select_lex_unit::save_union_explain_part2(Explain_query *output) bool LEX::is_partition_management() const { return (sql_command == SQLCOM_ALTER_TABLE && - (alter_info.flags == ALTER_ADD_PARTITION || - alter_info.flags == ALTER_REORGANIZE_PARTITION)); + (alter_info.partition_flags == ALTER_PARTITION_ADD || + alter_info.partition_flags == ALTER_PARTITION_REORGANIZE)); } |