~james-page/ubuntu/precise/mysql-5.5/misc-fixes

« back to all changes in this revision

Viewing changes to mysql-test/t/blackhole.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-06-11 07:34:33 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120611073433-l9za2ni4ipp848y3
Tags: 5.5.24-0ubuntu0.12.04.1
* SECURITY UPDATE: Update to 5.5.24 to fix security issues (LP: #1011371)
  - http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Tests for the BLACKHOLE storage engine
 
3
#
 
4
 
 
5
--source include/have_blackhole.inc
 
6
 
 
7
--echo #
 
8
--echo # Bug #11880012: INDEX_SUBQUERY, BLACKHOLE,
 
9
--echo #                HANG IN PREPARING WITH 100% CPU USAGE
 
10
--echo #
 
11
 
 
12
CREATE TABLE t1(a INT NOT NULL);
 
13
INSERT INTO t1 VALUES (1), (2), (3);
 
14
CREATE TABLE t2 (a INT UNSIGNED, b INT, UNIQUE KEY (a, b)) ENGINE=BLACKHOLE;
 
15
 
 
16
SELECT 1 FROM t1 WHERE a = ANY (SELECT a FROM t2);
 
17
 
 
18
DROP TABLE t1, t2;
 
19
 
 
20
--echo End of 5.5 tests 
 
21