Commit 607c0c01 authored by bar@bar.mysql.r18.ru's avatar bar@bar.mysql.r18.ru

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 ec542a6c
......@@ -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;
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:
......
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