1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-8806 Numeric CAST produce different warnings for strings literals vs functions

This commit is contained in:
Alexander Barkov
2015-09-25 21:33:50 +04:00
parent 26e4403f64
commit 30711c6650
23 changed files with 169 additions and 84 deletions

View File

@ -32,7 +32,7 @@ bool mysql_do(THD *thd, List<Item> &values)
if (setup_fields(thd, 0, values, MARK_COLUMNS_NONE, 0, 0))
DBUG_RETURN(TRUE);
while ((value = li++))
value->val_int();
(void) value->is_null();
free_underlaid_joins(thd, &thd->lex->select_lex);
if (thd->is_error())