Commit 0e3e5cf4 authored by igor@olga.mysql.com's avatar igor@olga.mysql.com
Browse files

Forced compilers to remove the warning appeared after the patch

with a fix for bug 32694. 
parent f781e154
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;