~ubuntu-branches/ubuntu/utopic/mariadb-5.5/utopic-security

« back to all changes in this revision

Viewing changes to storage/tokudb/mysql-test/tokudb_bugs/t/commit_index_end_1.test

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2014-04-17 20:55:22 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140417205522-wof4l36nxhlkn89m
* New upstream release, fixing the following security issues:
  * Corresponding MariaDB CVEs for Oracle SPU April 2014 (Closes: #745330)
    - CVE-2014-0384 
    - CVE-2014-2419 
    - CVE-2014-2430 
    - CVE-2014-2431 
    - CVE-2014-2432 
    - CVE-2014-2436 
    - CVE-2014-2438 
    - CVE-2014-2440
* Re-enabled TokuDB with "if arch amd64" in d/rules
* Applied patch to log init output better
  (Closes https://mariadb.atlassian.net/browse/MDEV-5957)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# this test crashes because tokudb does not handle index_end after txn commit (MDEV-5396)
 
2
 
 
3
source include/have_tokudb.inc;
 
4
 
 
5
disable_warnings;
 
6
drop table if exists t1,t2,t3;
 
7
enable_warnings;
 
8
 
 
9
SET NAMES latin1;
 
10
 
 
11
CREATE TABLE t1 (a INT) ENGINE=TokuDB;
 
12
INSERT INTO t1 VALUES (1),(2);
 
13
 
 
14
CREATE TABLE t2 (b INT) ENGINE=TokuDB;
 
15
INSERT INTO t2 VALUES (3),(4);
 
16
 
 
17
CREATE TABLE t3 (c VARCHAR(3), INDEX(c)) ENGINE=TokuDB;
 
18
INSERT INTO t3 VALUES ('foo'),('bar');
 
19
 
 
20
EXPLAIN SELECT * FROM t1
 
21
WHERE a IN ( SELECT b FROM t2 ) OR ( 'qux' ) IN ( SELECT c FROM t3 );
 
22
 
 
23
drop table if exists t1,t2,t3;
 
 
b'\\ No newline at end of file'