Commit 83dfb9f8 authored by unknown's avatar unknown

Now it is possible to drop default charset from table:

ALTER TABLE a CHARSET=DEFAULT

parent e38f8e8c
......@@ -882,6 +882,11 @@ create_table_option:
table_list->next=0;
lex->create_info.used_fields|= HA_CREATE_USED_UNION;
}
| CHARSET EQ DEFAULT
{
Lex->create_info.table_charset=NULL;
Lex->create_info.used_fields|= HA_CREATE_USED_CHARSET;
}
| CHARSET EQ ident
{
CHARSET_INFO *cs=get_charset_by_name($3.str,MYF(MY_WME));
......
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