diff options
author | Gleb Shchepa <gleb.shchepa@oracle.com> | 2012-06-29 18:38:29 +0400 |
---|---|---|
committer | Gleb Shchepa <gleb.shchepa@oracle.com> | 2012-06-29 18:38:29 +0400 |
commit | 196623b839d5bdc90d0ebb2d093276969aa8dca7 (patch) | |
tree | b1f1a2d09eaaf7a70b273a2eb162a8e936c6bb5a /sql/field.cc | |
parent | 26f0c1fd4b3c502f9defb8e4e91b567cdf7b0957 (diff) | |
parent | 0b847cd4de1d07670664d92530b3ce207520b2b9 (diff) | |
download | mariadb-git-196623b839d5bdc90d0ebb2d093276969aa8dca7.tar.gz |
auto-merge
Diffstat (limited to 'sql/field.cc')
-rw-r--r-- | sql/field.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.cc b/sql/field.cc index 352c8025e19..bb668a118c4 100644 --- a/sql/field.cc +++ b/sql/field.cc @@ -9933,7 +9933,7 @@ Create_field::Create_field(Field *old_field,Field *orig_field) if (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(current_thd, MYSQL_ERROR::WARN_LEVEL_NOTE, ER_WARN_DEPRECATED_SYNTAX, ER(ER_WARN_DEPRECATED_SYNTAX), |