mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '11.4' into 11.7
* rpl.rpl_system_versioning_partitions updated for MDEV-32188 * innodb.row_size_error_log_warnings_3 changed error for MDEV-33658 (checks are done in a different order)
This commit is contained in:
@ -7943,8 +7943,13 @@ Type_handler_datetime_common::convert_item_for_comparison(
|
||||
const char *msg,
|
||||
Sql_condition **cond_hdl) override
|
||||
{
|
||||
hit++;
|
||||
return *level >= Sql_condition::WARN_LEVEL_WARN;
|
||||
if (sql_errno == ER_TRUNCATED_WRONG_VALUE ||
|
||||
sql_errno == ER_DATETIME_FUNCTION_OVERFLOW)
|
||||
{
|
||||
hit++;
|
||||
return *level >= Sql_condition::WARN_LEVEL_WARN;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
} cnt_handler;
|
||||
|
||||
|
Reference in New Issue
Block a user