1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +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

@@ -295,6 +295,8 @@ INSERT INTO t1 VALUES ('', 0);
SELECT COALESCE(a) = COALESCE(b) FROM t1;
COALESCE(a) = COALESCE(b)
1
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: ''
DROP TABLE t1;
#
# Bug #54461: crash with longblob and union or update with subquery