summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
authorigor@olga.mysql.com <>2007-12-09 11:53:07 -0800
committerigor@olga.mysql.com <>2007-12-09 11:53:07 -0800
commit0e3e5cf40d310751eac8ff9109b9a768c2096a7a (patch)
tree64fbc1bc7acf169c19567e31769f9c760157925d /sql/item_cmpfunc.cc
parentf781e154e3f95bf03965d5f96c70c36e625cc090 (diff)
downloadmariadb-git-0e3e5cf40d310751eac8ff9109b9a768c2096a7a.tar.gz
Forced compilers to remove the warning appeared after the patch
with a fix for bug 32694.
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc1
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;