Commit 316d8c7f authored by Sergei Golubchik's avatar Sergei Golubchik

compiler warning

parent ec4137c6
...@@ -9831,7 +9831,7 @@ function_call_conflict: ...@@ -9831,7 +9831,7 @@ function_call_conflict:
| WEEK_SYM '(' expr ')' | WEEK_SYM '(' expr ')'
{ {
Item *i1; 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, if (!(i1= get_system_var(thd, OPT_SESSION,
name, null_lex_str))) name, null_lex_str)))
MYSQL_YYABORT; MYSQL_YYABORT;
......
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