Forced compilers to remove the warning appeared after the patch
with a fix for bug 32694.
This commit is contained in:
parent
f781e154e3
commit
0e3e5cf40d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user