| 297 | |
| 298 | |
| 299 | bool |
| 300 | check_date_with_warn(THD *thd, const MYSQL_TIME *ltime, |
| 301 | date_conv_mode_t fuzzydate, timestamp_type ts_type) |
| 302 | { |
| 303 | int unused; |
| 304 | if (check_date(ltime, fuzzydate, &unused)) |
| 305 | { |
| 306 | ErrConvTime str(ltime); |
| 307 | make_truncated_value_warning(thd, Sql_condition::WARN_LEVEL_WARN, |
| 308 | &str, ts_type, nullptr, nullptr, nullptr); |
| 309 | return true; |
| 310 | } |
| 311 | return false; |
| 312 | } |
| 313 | |
| 314 | |
| 315 | bool |
nothing calls this directly
no test coverage detected