diff options
author | Gleb Shchepa <gleb.shchepa@oracle.com> | 2012-06-29 18:24:43 +0400 |
---|---|---|
committer | Gleb Shchepa <gleb.shchepa@oracle.com> | 2012-06-29 18:24:43 +0400 |
commit | 0b847cd4de1d07670664d92530b3ce207520b2b9 (patch) | |
tree | 4277f55d18c0c636f95e8d9b569223a7488ea98e /sql/sql_yacc.yy | |
parent | 428ff7f8a0b1abfbe34b617411da42ef4159ea7c (diff) | |
download | mariadb-git-0b847cd4de1d07670664d92530b3ce207520b2b9.tar.gz |
minor update to make MSVS happy
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 854ba432362..7a6981f778a 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -5042,7 +5042,7 @@ type: if (errno == 0 && length <= MAX_FIELD_BLOBLENGTH && length != 4) { char buff[sizeof("YEAR()") + MY_INT64_NUM_DECIMAL_DIGITS + 1]; - snprintf(buff, sizeof(buff), "YEAR(%lu)", length); + my_snprintf(buff, sizeof(buff), "YEAR(%lu)", length); push_warning_printf(YYTHD, MYSQL_ERROR::WARN_LEVEL_NOTE, ER_WARN_DEPRECATED_SYNTAX, ER(ER_WARN_DEPRECATED_SYNTAX), |