~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to storage/tokudb/mysql-test/tokudb/t/prim_key_5.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:
 
1
#--source include/have_tokudb.inc
 
2
SET DEFAULT_STORAGE_ENGINE='tokudb';
 
3
#
 
4
# Bug #22169: Crash with count(distinct)
 
5
#
 
6
--echo *** Bug #22169 ***
 
7
 
 
8
--disable_warnings
 
9
DROP TABLE IF EXISTS t1;
 
10
--enable_warnings
 
11
 
 
12
CREATE TABLE t1 (a int, b bigint, c char(10), d date, e int, primary key (a));
 
13
 
 
14
INSERT into t1 values (1,54,"zardosht", '1986-08-30', 3287);
 
15
INSERT into t1 values (2,8709,"Alaadin", '1789-01-31', 8327);
 
16
INSERT into t1 values (3,234,"Gilbert", '1325-05-21', 871233);
 
17
INSERT into t1 values (4,563,"Lois", '1981-11-06', 654);
 
18
INSERT into t1 values (5,587,"Lexington", '1844-03-01', 75);
 
19
INSERT into t1 values (6,934764,"Goliath", '1161-11-01', 453);
 
20
INSERT into t1 values (7,109234,"Peter", '2005-11-01', 5);
 
21
INSERT into t1 values (8,9438,"Bart", '1472-11-01', 234);
 
22
INSERT into t1 values (9,111111111,"Superman", '1776-07-04', 65);
 
23
INSERT into t1 values (10,50000004,"Batman", '1981-11-01', 87423);
 
24
 
 
25
SELECT * from t1;
 
26
 
 
27
alter table t1 drop primary key;
 
28
SELECT * from t1;
 
29
alter table t1 add primary key (a,d,c(3),e,b);
 
30
SELECT * from t1;
 
31
 
 
32
alter table t1 drop primary key;
 
33
SELECT * from t1;
 
34
alter table t1 add primary key (e,d,c(3),b,a);
 
35
SELECT * from t1;
 
36
 
 
37
DROP TABLE t1;