~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_add_string_first.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_warnings
 
2
DROP TABLE IF EXISTS t5;
 
3
--enable_warnings
 
4
CREATE TABLE t5(c1 CHAR(10) 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 t5; 
 
9
ALTER TABLE t5 ADD c2 CHAR(20)  NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
14
CREATE TABLE t5(c1 VARCHAR(10) 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 t5; 
 
19
ALTER TABLE t5 ADD c2 CHAR(20)  NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
24
CREATE TABLE t5(c1 BINARY(10) 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 t5; 
 
29
ALTER TABLE t5 ADD c2 CHAR(20)  NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
34
CREATE TABLE t5(c1 VARBINARY(10) 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 t5; 
 
39
ALTER TABLE t5 ADD c2 CHAR(20)  NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
44
CREATE TABLE t5(c1 CHAR(10) 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 t5; 
 
49
ALTER TABLE t5 ADD c2 CHAR(20)  NOT NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
54
CREATE TABLE t5(c1 VARCHAR(10) 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 t5; 
 
59
ALTER TABLE t5 ADD c2 CHAR(20)  NOT NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
64
CREATE TABLE t5(c1 BINARY(10) 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 t5; 
 
69
ALTER TABLE t5 ADD c2 CHAR(20)  NOT NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
74
CREATE TABLE t5(c1 VARBINARY(10) 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 t5; 
 
79
ALTER TABLE t5 ADD c2 CHAR(20)  NOT NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
84
CREATE TABLE t5(c1 CHAR(10) 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 t5; 
 
89
ALTER TABLE t5 ADD c2 VARCHAR(20)  NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
94
CREATE TABLE t5(c1 VARCHAR(10) 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 t5; 
 
99
ALTER TABLE t5 ADD c2 VARCHAR(20)  NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
104
CREATE TABLE t5(c1 BINARY(10) 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 t5; 
 
109
ALTER TABLE t5 ADD c2 VARCHAR(20)  NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
114
CREATE TABLE t5(c1 VARBINARY(10) 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 t5; 
 
119
ALTER TABLE t5 ADD c2 VARCHAR(20)  NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
124
CREATE TABLE t5(c1 CHAR(10) 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 t5; 
 
129
ALTER TABLE t5 ADD c2 VARCHAR(20)  NOT NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
134
CREATE TABLE t5(c1 VARCHAR(10) 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 t5; 
 
139
ALTER TABLE t5 ADD c2 VARCHAR(20)  NOT NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
144
CREATE TABLE t5(c1 BINARY(10) 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 t5; 
 
149
ALTER TABLE t5 ADD c2 VARCHAR(20)  NOT NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
154
CREATE TABLE t5(c1 VARBINARY(10) 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 t5; 
 
159
ALTER TABLE t5 ADD c2 VARCHAR(20)  NOT NULL FIRST;
 
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 t5; DROP TABLE t5; SHOW TABLES;
 
164
CREATE TABLE t5(c1 CHAR(10) NULL);
 
165
SHOW TABLES; 
 
166
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
167
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
168
 SHOW CREATE TABLE t5; 
 
169
ALTER TABLE t5 ADD c2 BINARY(20)  NULL FIRST;
 
170
SHOW TABLES; 
 
171
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
172
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
173
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
174
CREATE TABLE t5(c1 VARCHAR(10) NULL);
 
175
SHOW TABLES; 
 
176
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
177
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
178
 SHOW CREATE TABLE t5; 
 
179
ALTER TABLE t5 ADD c2 BINARY(20)  NULL FIRST;
 
180
SHOW TABLES; 
 
181
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
182
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
183
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
184
CREATE TABLE t5(c1 BINARY(10) NULL);
 
185
SHOW TABLES; 
 
186
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
187
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
188
 SHOW CREATE TABLE t5; 
 
189
ALTER TABLE t5 ADD c2 BINARY(20)  NULL FIRST;
 
190
SHOW TABLES; 
 
191
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
192
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
193
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
194
CREATE TABLE t5(c1 VARBINARY(10) NULL);
 
195
SHOW TABLES; 
 
196
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
197
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
198
 SHOW CREATE TABLE t5; 
 
199
ALTER TABLE t5 ADD c2 BINARY(20)  NULL FIRST;
 
200
SHOW TABLES; 
 
201
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
202
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
203
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
204
CREATE TABLE t5(c1 CHAR(10) NOT NULL);
 
205
SHOW TABLES; 
 
206
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
207
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
208
 SHOW CREATE TABLE t5; 
 
209
ALTER TABLE t5 ADD c2 BINARY(20)  NOT NULL FIRST;
 
210
SHOW TABLES; 
 
211
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
212
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
213
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
214
CREATE TABLE t5(c1 VARCHAR(10) NOT NULL);
 
215
SHOW TABLES; 
 
216
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
217
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
218
 SHOW CREATE TABLE t5; 
 
219
ALTER TABLE t5 ADD c2 BINARY(20)  NOT NULL FIRST;
 
220
SHOW TABLES; 
 
221
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
222
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
223
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
224
CREATE TABLE t5(c1 BINARY(10) NOT NULL);
 
225
SHOW TABLES; 
 
226
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
227
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
228
 SHOW CREATE TABLE t5; 
 
229
ALTER TABLE t5 ADD c2 BINARY(20)  NOT NULL FIRST;
 
230
SHOW TABLES; 
 
231
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
232
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
233
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
234
CREATE TABLE t5(c1 VARBINARY(10) NOT NULL);
 
235
SHOW TABLES; 
 
236
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
237
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
238
 SHOW CREATE TABLE t5; 
 
239
ALTER TABLE t5 ADD c2 BINARY(20)  NOT NULL FIRST;
 
240
SHOW TABLES; 
 
241
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
242
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
243
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
244
CREATE TABLE t5(c1 CHAR(10) NULL);
 
245
SHOW TABLES; 
 
246
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
247
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
248
 SHOW CREATE TABLE t5; 
 
249
ALTER TABLE t5 ADD c2 VARBINARY(20)  NULL FIRST;
 
250
SHOW TABLES; 
 
251
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
252
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
253
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
254
CREATE TABLE t5(c1 VARCHAR(10) NULL);
 
255
SHOW TABLES; 
 
256
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
257
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
258
 SHOW CREATE TABLE t5; 
 
259
ALTER TABLE t5 ADD c2 VARBINARY(20)  NULL FIRST;
 
260
SHOW TABLES; 
 
261
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
262
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
263
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
264
CREATE TABLE t5(c1 BINARY(10) NULL);
 
265
SHOW TABLES; 
 
266
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
267
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
268
 SHOW CREATE TABLE t5; 
 
269
ALTER TABLE t5 ADD c2 VARBINARY(20)  NULL FIRST;
 
270
SHOW TABLES; 
 
271
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
272
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
273
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
274
CREATE TABLE t5(c1 VARBINARY(10) NULL);
 
275
SHOW TABLES; 
 
276
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
277
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
278
 SHOW CREATE TABLE t5; 
 
279
ALTER TABLE t5 ADD c2 VARBINARY(20)  NULL FIRST;
 
280
SHOW TABLES; 
 
281
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
282
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
283
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
284
CREATE TABLE t5(c1 CHAR(10) NOT NULL);
 
285
SHOW TABLES; 
 
286
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
287
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
288
 SHOW CREATE TABLE t5; 
 
289
ALTER TABLE t5 ADD c2 VARBINARY(20)  NOT NULL FIRST;
 
290
SHOW TABLES; 
 
291
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
292
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
293
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
294
CREATE TABLE t5(c1 VARCHAR(10) NOT NULL);
 
295
SHOW TABLES; 
 
296
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
297
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
298
 SHOW CREATE TABLE t5; 
 
299
ALTER TABLE t5 ADD c2 VARBINARY(20)  NOT NULL FIRST;
 
300
SHOW TABLES; 
 
301
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
302
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
303
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
304
CREATE TABLE t5(c1 BINARY(10) NOT NULL);
 
305
SHOW TABLES; 
 
306
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
307
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
308
 SHOW CREATE TABLE t5; 
 
309
ALTER TABLE t5 ADD c2 VARBINARY(20)  NOT NULL FIRST;
 
310
SHOW TABLES; 
 
311
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
312
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
313
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
314
CREATE TABLE t5(c1 VARBINARY(10) NOT NULL);
 
315
SHOW TABLES; 
 
316
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
317
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
318
 SHOW CREATE TABLE t5; 
 
319
ALTER TABLE t5 ADD c2 VARBINARY(20)  NOT NULL FIRST;
 
320
SHOW TABLES; 
 
321
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
322
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
323
 SHOW CREATE TABLE t5; DROP TABLE t5; SHOW TABLES;
 
324