This file is indexed.

/usr/share/mysql/mysql-test/t/blackhole.test is in mariadb-test-5.5 5.5.36-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#
# Tests for the BLACKHOLE storage engine
#

--source include/have_blackhole.inc

--echo #
--echo # Bug #11880012: INDEX_SUBQUERY, BLACKHOLE,
--echo #                HANG IN PREPARING WITH 100% CPU USAGE
--echo #

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);

DROP TABLE t1, t2;

--echo End of 5.5 tests