1
0
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:
Alexander Barkov
2017-11-13 21:58:00 +04:00
parent 0611797729
commit 071aece907
6 changed files with 269 additions and 4 deletions

View File

@ -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
{