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:
unknown 2002-10-23 19:18:54 +05:00
parent 636975db57
commit 020e3bd713

View file

@ -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: