Commit a301bdcf authored by unknown's avatar unknown

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;
parent a23ad42d
...@@ -867,9 +867,14 @@ opt_create_table_options: ...@@ -867,9 +867,14 @@ opt_create_table_options:
/* empty */ /* empty */
| create_table_options; | create_table_options;
create_table_options_space_separated:
create_table_option
| create_table_option create_table_options_space_separated;
create_table_options: create_table_options:
create_table_option create_table_option
| create_table_option create_table_options; | create_table_option create_table_options;
| create_table_option ',' create_table_options;
o_eq: o_eq:
/* empty */ /* empty */
...@@ -1380,7 +1385,7 @@ alter_list_item: ...@@ -1380,7 +1385,7 @@ alter_list_item:
lex->select->db=$3->db.str; lex->select->db=$3->db.str;
lex->name= $3->table.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; }; | order_clause { Lex->simple_alter=0; };
opt_column: opt_column:
......
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