summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-12-03 11:58:33 +0100
committerSergei Golubchik <serg@mariadb.org>2014-12-03 11:58:33 +0100
commit316d8c7fc8ab8c33ffddc898667f409bc86c7d5a (patch)
tree76793777cc3f1fe3f403a387dd37ff92dbb469d5 /sql
parentec4137c62b00a2bad91dd108f5782b206fe86a8b (diff)
downloadmariadb-git-316d8c7fc8ab8c33ffddc898667f409bc86c7d5a.tar.gz
compiler warning
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;