summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_yacc.yy2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index c1c2e23364d..b374a9a2bef 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -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;