~ubuntu-branches/ubuntu/vivid/mariadb-5.5/vivid

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): James Page, Otto Kekäläinen
  • Date: 2014-02-17 16:51:52 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140217165152-k315d3175g865kkx
Tags: 5.5.35-1
[ Otto Kekäläinen ]
* New upstream release, fixing the following security issues:
  - Buffer overflow in client/mysql.cc (Closes: #737597).
    - CVE-2014-0001
  - http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
    - CVE-2013-5891
    - CVE-2013-5908
    - CVE-2014-0386
    - CVE-2014-0393
    - CVE-2014-0401
    - CVE-2014-0402
    - CVE-2014-0412
    - CVE-2014-0420
    - CVE-2014-0437
* Upstream https://mariadb.atlassian.net/browse/MDEV-4902
  fixes compatibility with Bison 3.0 (Closes: #733002)
* Updated Russian debconf translation (Closes: #734426)
* Updated Japanese debconf translation (Closes: #735284)
* Updated French debconf translation (Closes: #736480)
* Renamed SONAME properly (Closes: #732967)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3572
3572
deallocate prepare st;
3573
3573
drop table t1;
3574
3574
 
 
3575
--echo #
 
3576
--echo # Bug mdev-5410: crash at the execution of PS with subselect
 
3577
--echo #                formed by UNION with global ORDER BY
 
3578
--echo #
 
3579
 
 
3580
CREATE TABLE t1 (a int DEFAULT NULL);
 
3581
INSERT INTO t1 VALUES (2), (4);
 
3582
CREATE TABLE t2 (b int DEFAULT NULL);
 
3583
INSERT INTO t2 VALUES (1), (3);
 
3584
 
 
3585
PREPARE stmt FROM "
 
3586
SELECT c1 FROM (SELECT (SELECT a FROM t1 WHERE t1.a <= t2.b
 
3587
                        UNION ALL
 
3588
                        SELECT a FROM t1 WHERE t1.a+3<= t2.b
 
3589
                        ORDER BY a DESC) AS c1 FROM t2) t3;
 
3590
";
 
3591
 
 
3592
EXECUTE stmt;
 
3593
EXECUTE stmt;
 
3594
 
 
3595
DROP TABLE t1,t2;
 
3596
 
3575
3597
--echo # End of 5.3 tests