mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
A clean-up for MDEV-4634
modified: sql/time.cc
This commit is contained in:
parent
0e44faf27f
commit
cfae3065d7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue