We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c917ba1 commit a6bef22Copy full SHA for a6bef22
sql/sql_yacc.yy
@@ -6633,19 +6633,7 @@ serial_attribute:
6633
lex->last_field->flags|= PRI_KEY_FLAG | NOT_NULL_FLAG;
6634
lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX;
6635
}
6636
- | UNIQUE_SYM
6637
- {
6638
- LEX *lex=Lex;
6639
- lex->last_field->flags|= UNIQUE_KEY_FLAG;
6640
- lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX;
6641
- }
6642
- | UNIQUE_SYM KEY_SYM
6643
6644
6645
6646
6647
6648
- | COMMENT_SYM TEXT_STRING_sys { Lex->last_field->comment= $2; }
+ | vcol_attribute
6649
| IDENT_sys equal TEXT_STRING_sys
6650
{
6651
if ($3.length > ENGINE_OPTION_MAX_LENGTH)
0 commit comments