compiler warning

This commit is contained in:
Sergei Golubchik 2014-12-03 11:58:33 +01:00
parent ec4137c62b
commit 316d8c7fc8

View File

@ -9831,7 +9831,7 @@ function_call_conflict:
| WEEK_SYM '(' expr ')'
{
Item *i1;
LEX_STRING name= {STRING_WITH_LEN("default_week_format")};
LEX_STRING name= {C_STRING_WITH_LEN("default_week_format")};
if (!(i1= get_system_var(thd, OPT_SESSION,
name, null_lex_str)))
MYSQL_YYABORT;