Commit 867de11e authored by unknown's avatar unknown

sql_yacc.yy:

  character set binary didn't work


sql/sql_yacc.yy:
  character set binary didn't work
parent 60e77479
......@@ -1140,7 +1140,15 @@ attribute:
| COMMENT_SYM text_literal { Lex->comment= $2; };
charset_name:
ident
BINARY
{
if (!($$=get_charset_by_name("binary",MYF(0))))
{
net_printf(current_thd,ER_UNKNOWN_CHARACTER_SET,"binary");
YYABORT;
}
}
| ident
{
if (!($$=get_charset_by_name($1.str,MYF(0))))
{
......
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