mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
maintain behavior introduced in fix for MySQL bug 35765
(avert regression)
This commit is contained in:
parent
0619bd5702
commit
00dad1c086
1 changed files with 6 additions and 2 deletions
|
|
@ -5036,8 +5036,7 @@ create_table_option:
|
|||
ENGINE_SYM opt_equal storage_engines
|
||||
{
|
||||
Lex->create_info.db_type= $3;
|
||||
if ($3)
|
||||
Lex->create_info.used_fields|= HA_CREATE_USED_ENGINE;
|
||||
Lex->create_info.used_fields|= HA_CREATE_USED_ENGINE;
|
||||
}
|
||||
| MAX_ROWS opt_equal ulonglong_num
|
||||
{
|
||||
|
|
@ -6748,6 +6747,11 @@ alter_list_item:
|
|||
{
|
||||
LEX *lex=Lex;
|
||||
lex->alter_info.flags|= ALTER_OPTIONS;
|
||||
if ((lex->create_info.used_fields & HA_CREATE_USED_ENGINE) &&
|
||||
!lex->create_info.db_type)
|
||||
{
|
||||
lex->create_info.used_fields&= ~HA_CREATE_USED_ENGINE;
|
||||
}
|
||||
}
|
||||
| FORCE_SYM
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue