mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
All these syntaxes now work:
CREATE TABLE a (...) TYPE isam CHARSET latin1 MAX_ROWS 1000; CREATE TABLE a (...) TYPE=isam CHARSET=latin1 MAX_ROWS=1000; CREATE TABLE a (...) TYPE isam, CHARSET latin1, MAX_ROWS 1000; CREATE TABLE a (...) TYPE=isam, CHARSET=latin1, MAX_ROWS=1000;
This commit is contained in:
parent
636975db57
commit
020e3bd713
1 changed files with 7 additions and 2 deletions
|
@ -867,9 +867,14 @@ opt_create_table_options:
|
|||
/* empty */
|
||||
| create_table_options;
|
||||
|
||||
create_table_options_space_separated:
|
||||
create_table_option
|
||||
| create_table_option create_table_options_space_separated;
|
||||
|
||||
create_table_options:
|
||||
create_table_option
|
||||
| create_table_option create_table_options;
|
||||
| create_table_option create_table_options;
|
||||
| create_table_option ',' create_table_options;
|
||||
|
||||
o_eq:
|
||||
/* empty */
|
||||
|
@ -1380,7 +1385,7 @@ alter_list_item:
|
|||
lex->select->db=$3->db.str;
|
||||
lex->name= $3->table.str;
|
||||
}
|
||||
| create_table_options { Lex->simple_alter=0; }
|
||||
| create_table_options_space_separated { Lex->simple_alter=0; }
|
||||
| order_clause { Lex->simple_alter=0; };
|
||||
|
||||
opt_column:
|
||||
|
|
Loading…
Add table
Reference in a new issue