diff options
author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-08-20 16:10:49 +0300 |
---|---|---|
committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-08-20 16:10:49 +0300 |
commit | c95f7a9816deb1a563ac2d0a7027d359c9b2a27b (patch) | |
tree | 131ffa70b19236e991dc12e5bdbbe8e4fb548d7c /mysql-test/t/func_misc.test | |
parent | cd8060a7ae482a065d8ce893b6f13e9137b01af5 (diff) | |
parent | c9d20d6c08fe85a852175887d5d361fe1d43b9c2 (diff) | |
download | mariadb-git-c95f7a9816deb1a563ac2d0a7027d359c9b2a27b.tar.gz |
merge
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r-- | mysql-test/t/func_misc.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test index 5d93813a9ff..ec71e950ca7 100644 --- a/mysql-test/t/func_misc.test +++ b/mysql-test/t/func_misc.test @@ -468,6 +468,19 @@ select NAME_CONST('_id',1234) as id; select connection_id() > 0; --echo # +--echo # Bug #54461: crash with longblob and union or update with subquery +--echo # + +CREATE TABLE t1 (a INT, b LONGBLOB); +INSERT INTO t1 VALUES (1, '2'), (2, '3'), (3, '2'); + +SELECT DISTINCT LEAST(a, (SELECT b FROM t1 LIMIT 1)) FROM t1 UNION SELECT 1; +SELECT DISTINCT GREATEST(a, (SELECT b FROM t1 LIMIT 1)) FROM t1 UNION SELECT 1; + +DROP TABLE t1; + + +--echo # --echo # Bug #52165: Assertion failed: file .\dtoa.c, line 465 --echo # |