diff options
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r-- | sql/item_timefunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc index 94757e16d41..6d88ef2185a 100644 --- a/sql/item_timefunc.cc +++ b/sql/item_timefunc.cc @@ -441,7 +441,7 @@ static bool extract_date_time(THD *thd, DATE_TIME_FORMAT *format, goto err; int was_cut; - if (check_date(l_time, ulonglong(fuzzydate | TIME_INVALID_DATES), &was_cut)) + if (check_date(l_time, fuzzydate | TIME_INVALID_DATES, &was_cut)) goto err; if (val != val_end) |