diff options
author | unknown <igor@olga.mysql.com> | 2007-12-09 11:53:07 -0800 |
---|---|---|
committer | unknown <igor@olga.mysql.com> | 2007-12-09 11:53:07 -0800 |
commit | 1cdd95f7d1a27723c1ae1d3a6f457a0042b44795 (patch) | |
tree | 64fbc1bc7acf169c19567e31769f9c760157925d | |
parent | 331b3b6b8b34ebdd60252535070bc20da0504c10 (diff) | |
download | mariadb-git-1cdd95f7d1a27723c1ae1d3a6f457a0042b44795.tar.gz |
Forced compilers to remove the warning appeared after the patch
with a fix for bug 32694.
-rw-r--r-- | sql/item_cmpfunc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index 1881d2f7f1f..4b584f5cb0b 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -353,6 +353,7 @@ static bool convert_constant_item(THD *thd, Item_field *field_item, ulong orig_sql_mode= thd->variables.sql_mode; enum_check_fields orig_count_cuted_fields= thd->count_cuted_fields; ulonglong orig_field_val; /* original field value if valid */ + LINT_INIT(orig_field_val); thd->variables.sql_mode= (orig_sql_mode & ~MODE_NO_ZERO_DATE) | MODE_INVALID_DATES; thd->count_cuted_fields= CHECK_FIELD_IGNORE; |