1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-10307 CAST(11068046444225730969 AS SIGNED) does not return a warning

This commit is contained in:
Alexander Barkov
2019-04-30 15:51:49 +04:00
parent 447b8ba164
commit 8c8bee0a56
6 changed files with 44 additions and 1 deletions

View File

@ -3380,7 +3380,7 @@ longlong Type_handler_real_result::
longlong Type_handler_int_result::
Item_val_int_signed_typecast(Item *item) const
{
return item->val_int();
return item->val_int_signed_typecast_from_int();
}
longlong Type_handler_decimal_result::