mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-14376 Explicit CAST(CHAR(N)) erroneously escalates warnings to errors in STRICT_ALL_TABLES
This commit is contained in:
@ -4339,7 +4339,7 @@ bool Type_handler::
|
||||
bool Type_handler::
|
||||
Item_char_typecast_fix_length_and_dec(Item_char_typecast *item) const
|
||||
{
|
||||
item->fix_length_and_dec_str();
|
||||
item->fix_length_and_dec_generic();
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -4352,6 +4352,14 @@ bool Type_handler_numeric::
|
||||
}
|
||||
|
||||
|
||||
bool Type_handler_string_result::
|
||||
Item_char_typecast_fix_length_and_dec(Item_char_typecast *item) const
|
||||
{
|
||||
item->fix_length_and_dec_str();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool Type_handler::
|
||||
Item_time_typecast_fix_length_and_dec(Item_time_typecast *item) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user