Debian Codegraph @

mysql-test/suite/engines/funcs/t/tc_partition_hash.test

raw
1 --disable_warnings
2 DROP TABLE IF EXISTS t1;
3 --enable_warnings
4 CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
5 SHOW TABLES;
6 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
7 --replace_result $ENGINE ENGINE
8 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
9 CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
10 SHOW TABLES;
11 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
12 --replace_result $ENGINE ENGINE
13 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
14 CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
15 SHOW TABLES;
16 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
17 --replace_result $ENGINE ENGINE
18 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
19 CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
20 SHOW TABLES;
21 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
22 --replace_result $ENGINE ENGINE
23 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
24 CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
25 SHOW TABLES;
26 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
27 --replace_result $ENGINE ENGINE
28 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
29 CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
30 SHOW TABLES;
31 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
32 --replace_result $ENGINE ENGINE
33 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
34 CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
35 SHOW TABLES;
36 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
37 --replace_result $ENGINE ENGINE
38 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
39 CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
40 SHOW TABLES;
41 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
42 --replace_result $ENGINE ENGINE
43 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
44 CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
45 SHOW TABLES;
46 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
47 --replace_result $ENGINE ENGINE
48 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
49 CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
50 SHOW TABLES;
51 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
52 --replace_result $ENGINE ENGINE
53 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
54 CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
55 SHOW TABLES;
56 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
57 --replace_result $ENGINE ENGINE
58 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
59 CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 1;
60 SHOW TABLES;
61 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
62 --replace_result $ENGINE ENGINE
63 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
64 CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
65 SHOW TABLES;
66 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
67 --replace_result $ENGINE ENGINE
68 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
69 CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
70 SHOW TABLES;
71 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
72 --replace_result $ENGINE ENGINE
73 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
74 CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
75 SHOW TABLES;
76 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
77 --replace_result $ENGINE ENGINE
78 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
79 CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
80 SHOW TABLES;
81 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
82 --replace_result $ENGINE ENGINE
83 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
84 CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
85 SHOW TABLES;
86 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
87 --replace_result $ENGINE ENGINE
88 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
89 CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
90 SHOW TABLES;
91 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
92 --replace_result $ENGINE ENGINE
93 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
94 CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
95 SHOW TABLES;
96 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
97 --replace_result $ENGINE ENGINE
98 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
99 CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
100 SHOW TABLES;
101 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
102 --replace_result $ENGINE ENGINE
103 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
104 CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
105 SHOW TABLES;
106 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
107 --replace_result $ENGINE ENGINE
108 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
109 CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
110 SHOW TABLES;
111 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
112 --replace_result $ENGINE ENGINE
113 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
114 CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
115 SHOW TABLES;
116 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
117 --replace_result $ENGINE ENGINE
118 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
119 CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 2;
120 SHOW TABLES;
121 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
122 --replace_result $ENGINE ENGINE
123 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
124 CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
125 SHOW TABLES;
126 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
127 --replace_result $ENGINE ENGINE
128 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
129 CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
130 SHOW TABLES;
131 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
132 --replace_result $ENGINE ENGINE
133 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
134 CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
135 SHOW TABLES;
136 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
137 --replace_result $ENGINE ENGINE
138 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
139 CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
140 SHOW TABLES;
141 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
142 --replace_result $ENGINE ENGINE
143 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
144 CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
145 SHOW TABLES;
146 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
147 --replace_result $ENGINE ENGINE
148 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
149 CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
150 SHOW TABLES;
151 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
152 --replace_result $ENGINE ENGINE
153 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
154 CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
155 SHOW TABLES;
156 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
157 --replace_result $ENGINE ENGINE
158 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
159 CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
160 SHOW TABLES;
161 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
162 --replace_result $ENGINE ENGINE
163 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
164 CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
165 SHOW TABLES;
166 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
167 --replace_result $ENGINE ENGINE
168 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
169 CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
170 SHOW TABLES;
171 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
172 --replace_result $ENGINE ENGINE
173 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
174 CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
175 SHOW TABLES;
176 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
177 --replace_result $ENGINE ENGINE
178 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
179 CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 3;
180 SHOW TABLES;
181 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
182 --replace_result $ENGINE ENGINE
183 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
184 CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
185 SHOW TABLES;
186 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
187 --replace_result $ENGINE ENGINE
188 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
189 CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
190 SHOW TABLES;
191 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
192 --replace_result $ENGINE ENGINE
193 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
194 CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
195 SHOW TABLES;
196 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
197 --replace_result $ENGINE ENGINE
198 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
199 CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
200 SHOW TABLES;
201 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
202 --replace_result $ENGINE ENGINE
203 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
204 CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
205 SHOW TABLES;
206 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
207 --replace_result $ENGINE ENGINE
208 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
209 CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
210 SHOW TABLES;
211 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
212 --replace_result $ENGINE ENGINE
213 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
214 CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
215 SHOW TABLES;
216 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
217 --replace_result $ENGINE ENGINE
218 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
219 CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
220 SHOW TABLES;
221 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
222 --replace_result $ENGINE ENGINE
223 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
224 CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
225 SHOW TABLES;
226 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
227 --replace_result $ENGINE ENGINE
228 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
229 CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
230 SHOW TABLES;
231 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
232 --replace_result $ENGINE ENGINE
233 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
234 CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
235 SHOW TABLES;
236 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
237 --replace_result $ENGINE ENGINE
238 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
239 CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
240 SHOW TABLES;
241 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
242 --replace_result $ENGINE ENGINE
243 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
244 CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
245 SHOW TABLES;
246 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
247 --replace_result $ENGINE ENGINE
248 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
249 CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
250 SHOW TABLES;
251 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
252 --replace_result $ENGINE ENGINE
253 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
254 CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
255 SHOW TABLES;
256 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
257 --replace_result $ENGINE ENGINE
258 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
259 CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
260 SHOW TABLES;
261 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
262 --replace_result $ENGINE ENGINE
263 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
264 CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
265 SHOW TABLES;
266 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
267 --replace_result $ENGINE ENGINE
268 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
269 CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
270 SHOW TABLES;
271 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
272 --replace_result $ENGINE ENGINE
273 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
274 CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
275 SHOW TABLES;
276 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
277 --replace_result $ENGINE ENGINE
278 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
279 CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
280 SHOW TABLES;
281 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
282 --replace_result $ENGINE ENGINE
283 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
284 CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
285 SHOW TABLES;
286 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
287 --replace_result $ENGINE ENGINE
288 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
289 CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
290 SHOW TABLES;
291 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
292 --replace_result $ENGINE ENGINE
293 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
294 CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
295 SHOW TABLES;
296 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
297 --replace_result $ENGINE ENGINE
298 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
299 CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 5;
300 SHOW TABLES;
301 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
302 --replace_result $ENGINE ENGINE
303 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
304 CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
305 SHOW TABLES;
306 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
307 --replace_result $ENGINE ENGINE
308 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
309 CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
310 SHOW TABLES;
311 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
312 --replace_result $ENGINE ENGINE
313 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
314 CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
315 SHOW TABLES;
316 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
317 --replace_result $ENGINE ENGINE
318 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
319 CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
320 SHOW TABLES;
321 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
322 --replace_result $ENGINE ENGINE
323 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
324 CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
325 SHOW TABLES;
326 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
327 --replace_result $ENGINE ENGINE
328 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
329 CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
330 SHOW TABLES;
331 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
332 --replace_result $ENGINE ENGINE
333 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
334 CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
335 SHOW TABLES;
336 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
337 --replace_result $ENGINE ENGINE
338 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
339 CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
340 SHOW TABLES;
341 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
342 --replace_result $ENGINE ENGINE
343 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
344 CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
345 SHOW TABLES;
346 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
347 --replace_result $ENGINE ENGINE
348 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
349 CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
350 SHOW TABLES;
351 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
352 --replace_result $ENGINE ENGINE
353 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
354 CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
355 SHOW TABLES;
356 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
357 --replace_result $ENGINE ENGINE
358 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
359 CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 10;
360 SHOW TABLES;
361 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
362 --replace_result $ENGINE ENGINE
363 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
364 CREATE TABLE t1 (c1 TINYINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
365 SHOW TABLES;
366 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
367 --replace_result $ENGINE ENGINE
368 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
369 CREATE TABLE t1 (c1 SMALLINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
370 SHOW TABLES;
371 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
372 --replace_result $ENGINE ENGINE
373 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
374 CREATE TABLE t1 (c1 MEDIUMINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
375 SHOW TABLES;
376 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
377 --replace_result $ENGINE ENGINE
378 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
379 CREATE TABLE t1 (c1 INT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
380 SHOW TABLES;
381 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
382 --replace_result $ENGINE ENGINE
383 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
384 CREATE TABLE t1 (c1 INTEGER NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
385 SHOW TABLES;
386 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
387 --replace_result $ENGINE ENGINE
388 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
389 CREATE TABLE t1 (c1 BIGINT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
390 SHOW TABLES;
391 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
392 --replace_result $ENGINE ENGINE
393 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
394 CREATE TABLE t1 (c1 TINYINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
395 SHOW TABLES;
396 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
397 --replace_result $ENGINE ENGINE
398 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
399 CREATE TABLE t1 (c1 SMALLINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
400 SHOW TABLES;
401 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
402 --replace_result $ENGINE ENGINE
403 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
404 CREATE TABLE t1 (c1 MEDIUMINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
405 SHOW TABLES;
406 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
407 --replace_result $ENGINE ENGINE
408 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
409 CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
410 SHOW TABLES;
411 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
412 --replace_result $ENGINE ENGINE
413 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
414 CREATE TABLE t1 (c1 INTEGER NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
415 SHOW TABLES;
416 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
417 --replace_result $ENGINE ENGINE
418 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
419 CREATE TABLE t1 (c1 BIGINT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 50;
420 SHOW TABLES;
421 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
422 --replace_result $ENGINE ENGINE
423 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
424