~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/change_column_int_descriptor.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
--disable_warnings
 
2
DROP TABLE IF EXISTS t, ti;
 
3
--enable_warnings
 
4
 
 
5
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=1;
 
6
SET SESSION DEFAULT_STORAGE_ENGINE='TokuDB';
 
7
 
 
8
CREATE TABLE t (a INT, b INT, c INT, KEY(b), id INT PRIMARY KEY);
 
9
INSERT INTO t VALUES (1,2,3,1),(4,5,6,2),(7,8,9,3);
 
10
 
 
11
CREATE TABLE ti LIKE t;
 
12
ALTER TABLE ti ENGINE=myisam;
 
13
INSERT INTO ti SELECT * FROM t;
 
14
 
 
15
ALTER TABLE t CHANGE COLUMN a a BIGINT;
 
16
ALTER TABLE ti CHANGE COLUMN a a BIGINT;
 
17
 
 
18
SELECT b FROM t;
 
19
SELECT b FROM ti;
 
20
 
 
21
INSERT INTO t VALUES (10,11,12,4);
 
22
INSERT INTO ti VALUES (10,11,12,4);
 
23
 
 
24
# should get the same result set
 
25
SELECT b FROM t;
 
26
SELECT b FROM ti;
 
27
 
 
28
# tables should be the same
 
29
let $diff_tables = test.t, test.ti;
 
30
source include/diff_tables.inc;
 
31
 
 
32
DROP TABLE t, ti;
 
 
b'\\ No newline at end of file'