~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

Viewing changes to mysql-test/suite/engines/funcs/t/ta_3part_column_to_pk.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120222223355-or06x1euyk8n0ldi
Tags: 5.1.61-0ubuntu0.10.04.1
* SECURITY UPDATE: Update to 5.1.61 to fix multiple security issues
  (LP: #937869)
  - http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
  - CVE-2011-2262
  - CVE-2012-0075
  - CVE-2012-0112
  - CVE-2012-0113
  - CVE-2012-0114
  - CVE-2012-0115
  - CVE-2012-0116
  - CVE-2012-0117
  - CVE-2012-0118
  - CVE-2012-0119
  - CVE-2012-0120
  - CVE-2012-0484
  - CVE-2012-0485
  - CVE-2012-0486
  - CVE-2012-0487
  - CVE-2012-0488
  - CVE-2012-0489
  - CVE-2012-0490
  - CVE-2012-0491
  - CVE-2012-0492
  - CVE-2012-0493
  - CVE-2012-0494
  - CVE-2012-0495
  - CVE-2012-0496
* Dropped patches unnecessary with 5.1.61:
  - debian/patches/90_mysql_safer_strmov.dpatch
  - debian/patches/51_ssl_test_certs.dpatch
  - debian/patches/52_CVE-2009-4030.dpatch
  - debian/patches/53_CVE-2009-4484.dpatch
  - debian/patches/54_CVE-2008-7247.dpatch
  - debian/patches/55_CVE-2010-1621.dpatch
  - debian/patches/56_CVE-2010-1850.dpatch
  - debian/patches/57_CVE-2010-1849.dpatch
  - debian/patches/58_CVE-2010-1848.dpatch
  - debian/patches/59_CVE-2010-1626.dpatch
  - debian/patches/60_CVE-2010-2008.dpatch
  - debian/patches/60_CVE-2010-3677.dpatch
  - debian/patches/60_CVE-2010-3678.dpatch
  - debian/patches/60_CVE-2010-3679.dpatch
  - debian/patches/60_CVE-2010-3680.dpatch
  - debian/patches/60_CVE-2010-3681.dpatch
  - debian/patches/60_CVE-2010-3682.dpatch
  - debian/patches/60_CVE-2010-3683.dpatch
  - debian/patches/60_CVE-2010-3833.dpatch
  - debian/patches/60_CVE-2010-3834.dpatch
  - debian/patches/60_CVE-2010-3835.dpatch
  - debian/patches/60_CVE-2010-3836.dpatch
  - debian/patches/60_CVE-2010-3837.dpatch
  - debian/patches/60_CVE-2010-3838.dpatch
  - debian/patches/60_CVE-2010-3839.dpatch
  - debian/patches/60_CVE-2010-3840.dpatch
  - debian/patches/61_disable_longfilename_test.dpatch
  - debian/patches/62_alter_table_fix.dpatch
  - debian/patches/63_cherrypick-upstream-49479.dpatch
  - debian/patches/10_readline_build_fix.dpatch
* debian/mysql-client-5.1.docs: removed EXCEPTIONS-CLIENT file
* debian/mysql-server-5.1.docs,debian/libmysqlclient16.docs,
  debian/libmysqlclient-dev.docs: removed, no longer necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_warnings
 
2
DROP TABLE IF EXISTS t1;
 
3
--enable_warnings
 
4
CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT NOT NULL, c3 BIT NOT NULL);
 
5
SHOW TABLES; 
 
6
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
7
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
8
 SHOW CREATE TABLE t1; 
 
9
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
10
SHOW TABLES; 
 
11
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
12
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
13
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
14
CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL);
 
15
SHOW TABLES; 
 
16
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
17
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
18
 SHOW CREATE TABLE t1; 
 
19
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
20
SHOW TABLES; 
 
21
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
22
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
23
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
24
CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL);
 
25
SHOW TABLES; 
 
26
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
27
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
28
 SHOW CREATE TABLE t1; 
 
29
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
30
SHOW TABLES; 
 
31
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
32
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
33
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
34
CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL);
 
35
SHOW TABLES; 
 
36
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
37
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
38
 SHOW CREATE TABLE t1; 
 
39
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
40
SHOW TABLES; 
 
41
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
42
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
43
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
44
CREATE TABLE t1(c1 INT NOT NULL, c2 INT NOT NULL, c3 INT NOT NULL);
 
45
SHOW TABLES; 
 
46
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
47
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
48
 SHOW CREATE TABLE t1; 
 
49
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
50
SHOW TABLES; 
 
51
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
52
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
53
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
54
CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL);
 
55
SHOW TABLES; 
 
56
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
57
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
58
 SHOW CREATE TABLE t1; 
 
59
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
60
SHOW TABLES; 
 
61
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
62
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
63
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
64
CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL);
 
65
SHOW TABLES; 
 
66
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
67
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
68
 SHOW CREATE TABLE t1; 
 
69
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
70
SHOW TABLES; 
 
71
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
72
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
73
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
74
CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NOT NULL, c3 REAL NOT NULL);
 
75
SHOW TABLES; 
 
76
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
77
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
78
 SHOW CREATE TABLE t1; 
 
79
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
80
SHOW TABLES; 
 
81
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
82
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
83
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
84
CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL);
 
85
SHOW TABLES; 
 
86
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
87
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
88
 SHOW CREATE TABLE t1; 
 
89
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
90
SHOW TABLES; 
 
91
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
92
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
93
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
94
CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL);
 
95
SHOW TABLES; 
 
96
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
97
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
98
 SHOW CREATE TABLE t1; 
 
99
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
100
SHOW TABLES; 
 
101
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
102
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
103
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
104
CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL);
 
105
SHOW TABLES; 
 
106
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
107
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
108
 SHOW CREATE TABLE t1; 
 
109
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
110
SHOW TABLES; 
 
111
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
112
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
113
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
114
CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL);
 
115
SHOW TABLES; 
 
116
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
117
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
118
 SHOW CREATE TABLE t1; 
 
119
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
120
SHOW TABLES; 
 
121
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
122
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
123
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
124
CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL);
 
125
SHOW TABLES; 
 
126
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
127
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
128
 SHOW CREATE TABLE t1; 
 
129
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
130
SHOW TABLES; 
 
131
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
132
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
133
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
134
CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL);
 
135
SHOW TABLES; 
 
136
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
137
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
138
 SHOW CREATE TABLE t1; 
 
139
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
140
SHOW TABLES; 
 
141
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
142
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
143
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
144
CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL);
 
145
SHOW TABLES; 
 
146
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
147
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
148
 SHOW CREATE TABLE t1; 
 
149
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
150
SHOW TABLES; 
 
151
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
152
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
153
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
154
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL);
 
155
SHOW TABLES; 
 
156
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
157
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
158
 SHOW CREATE TABLE t1; 
 
159
ALTER TABLE t1 ADD PRIMARY KEY (c1,c2,c3);
 
160
SHOW TABLES; 
 
161
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
162
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
163
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
164