diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-02-22 22:51:20 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-02-22 22:51:20 +0100 |
commit | ff2e82f4a175b7b023cd167b2fa6e6fcd1bd192e (patch) | |
tree | 63150adc067c1bb6cb476eef00094083e1a53865 /mysql-test/r/subselect_sj.result | |
parent | 004642525d8c4ed02686719395faf477e94cd618 (diff) | |
parent | 3e03c9eae9089cd2cae0f378bd81ff29367f41eb (diff) | |
download | mariadb-git-ff2e82f4a175b7b023cd167b2fa6e6fcd1bd192e.tar.gz |
5.3 merge
Diffstat (limited to 'mysql-test/r/subselect_sj.result')
-rw-r--r-- | mysql-test/r/subselect_sj.result | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/subselect_sj.result b/mysql-test/r/subselect_sj.result index 0e028cc7f51..98905f10018 100644 --- a/mysql-test/r/subselect_sj.result +++ b/mysql-test/r/subselect_sj.result @@ -2793,6 +2793,22 @@ mysql information_schema DROP TABLE t1; # +# MDEV-5581: Server crashes in in JOIN::prepare on 2nd execution of PS with materialization+semijoin +# +CREATE TABLE t1 (a INT); +INSERT INTO t1 VALUES (2),(3); +CREATE TABLE t2 (b INT); +INSERT INTO t2 VALUES (8),(9); +CREATE TABLE t3 (c INT, INDEX(c)); +INSERT INTO t2 VALUES (5),(6); +PREPARE stmt FROM +"SELECT * FROM t1 WHERE ( 9, 5 ) IN ( SELECT b, COUNT(*) FROM t2 WHERE 1 IN ( SELECT MIN(c) FROM t3 ) )"; +EXECUTE stmt; +a +EXECUTE stmt; +a +DROP TABLE t1,t2,t3; +# # MySQL Bug#13340270: assertion table->sort.record_pointers == __null # CREATE TABLE t1 ( |