diff options
author | Alexander Barkov <bar@mariadb.org> | 2015-09-25 21:33:50 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2015-09-25 21:33:50 +0400 |
commit | 30711c6650fc7e2f166f29d0bc59eeab64dadb3e (patch) | |
tree | bd9a209f1e339c73a2d23c22c9c078ea992ebd08 /sql/sql_do.cc | |
parent | 26e4403f649839e82dd26f7a6b31165063eb2871 (diff) | |
download | mariadb-git-30711c6650fc7e2f166f29d0bc59eeab64dadb3e.tar.gz |
MDEV-8806 Numeric CAST produce different warnings for strings literals vs functions
Diffstat (limited to 'sql/sql_do.cc')
-rw-r--r-- | sql/sql_do.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_do.cc b/sql/sql_do.cc index 468b1bc33da..9e58031f6a4 100644 --- a/sql/sql_do.cc +++ b/sql/sql_do.cc @@ -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()) |