A clean-up for MDEV-4634
modified: sql/time.cc
This commit is contained in:
parent
0e44faf27f
commit
cfae3065d7
@ -222,7 +222,7 @@ check_date_with_warn(const MYSQL_TIME *ltime, uint fuzzy_date,
|
|||||||
{
|
{
|
||||||
Lazy_string_time str(ltime);
|
Lazy_string_time str(ltime);
|
||||||
make_truncated_value_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
|
make_truncated_value_warning(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
|
||||||
&str, MYSQL_TIMESTAMP_ERROR, 0);
|
&str, ts_type, 0);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user