mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
12 lines
340 B
Text
12 lines
340 B
Text
|
#
|
||
|
# Bug #11880012: INDEX_SUBQUERY, BLACKHOLE,
|
||
|
# HANG IN PREPARING WITH 100% CPU USAGE
|
||
|
#
|
||
|
CREATE TABLE t1(a INT NOT NULL);
|
||
|
INSERT INTO t1 VALUES (1), (2), (3);
|
||
|
CREATE TABLE t2 (a INT UNSIGNED, b INT, UNIQUE KEY (a, b)) ENGINE=BLACKHOLE;
|
||
|
SELECT 1 FROM t1 WHERE a = ANY (SELECT a FROM t2);
|
||
|
1
|
||
|
DROP TABLE t1, t2;
|
||
|
End of 5.5 tests
|