Commit e541ab3b authored by Mikael Ronstrom's avatar Mikael Ronstrom

Removed unnecessary call to fix_parser_data

parent d46abd8b
...@@ -1047,7 +1047,8 @@ bool partition_info::check_partition_info(THD *thd, handlerton **eng_type, ...@@ -1047,7 +1047,8 @@ bool partition_info::check_partition_info(THD *thd, handlerton **eng_type,
my_error(ER_PARTITION_FUNCTION_IS_NOT_ALLOWED, MYF(0)); my_error(ER_PARTITION_FUNCTION_IS_NOT_ALLOWED, MYF(0));
goto end; goto end;
} }
if (fix_parser_data(thd)) if (thd->lex->sql_command == SQLCOM_CREATE_TABLE &&
fix_parser_data(thd))
goto end; goto end;
} }
if (unlikely(!is_sub_partitioned() && if (unlikely(!is_sub_partitioned() &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment