diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-05-07 11:48:15 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-05-07 11:48:15 +0200 |
commit | 6f741eb6e4b88d17c48e43a48faf8e18ed5f33d8 (patch) | |
tree | 96ad1c019a99ed271f588471b710887aca42d297 /mysql-test/main/subselect_innodb.test | |
parent | 0db27eff27dba9a2bf12653a20e503e029397b9a (diff) | |
parent | a5dc12eefd4bea1c3f77d02c55d0d459b4ae0566 (diff) | |
download | mariadb-git-6f741eb6e4b88d17c48e43a48faf8e18ed5f33d8.tar.gz |
Merge branch '10.2' into 10.3
Diffstat (limited to 'mysql-test/main/subselect_innodb.test')
-rw-r--r-- | mysql-test/main/subselect_innodb.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/main/subselect_innodb.test b/mysql-test/main/subselect_innodb.test index f42ac514d53..5d8f3dcc1b5 100644 --- a/mysql-test/main/subselect_innodb.test +++ b/mysql-test/main/subselect_innodb.test @@ -655,3 +655,17 @@ select 1 from t1 where not exists --enable_warnings drop table t1; +--echo # +--echo # MDEV-28437: Assertion `!eliminated' failed in Item_subselect::exec +--echo # +CREATE TABLE t1 (a INT) ENGINE=InnoDB; +INSERT INTO t1 VALUES (1),(2); +CREATE TABLE t2 (b INT PRIMARY KEY) ENGINE=InnoDB; +INSERT INTO t1 VALUES (3),(4); + +SELECT 1 IN (SELECT a FROM t1 LEFT JOIN t2 ON (a = b AND EXISTS (SELECT * FROM t1))); + +drop table t1,t2; + +# End of 10.2 tests + |