Commit cfae3065 authored by Alexander Barkov's avatar Alexander Barkov

A clean-up for MDEV-4634

modified:
  sql/time.cc
parent 0e44faf2
......@@ -222,7 +222,7 @@ check_date_with_warn(const MYSQL_TIME *ltime, uint fuzzy_date,
{
Lazy_string_time str(ltime);
make_truncated_value_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
&str, MYSQL_TIMESTAMP_ERROR, 0);
&str, ts_type, 0);
return true;
}
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment