~vlad-lesin/percona-server/mysql-5.0.33-original

« back to all changes in this revision

Viewing changes to mysql-test/r/federated.result

  • Committer: Vlad Lesin
  • Date: 2012-07-31 09:21:34 UTC
  • Revision ID: vladislav.lesin@percona.com-20120731092134-zfodx022b7992wsi
VirginĀ 5.0.33

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
stop slave;
 
2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
3
reset master;
 
4
reset slave;
 
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
6
start slave;
 
7
stop slave;
 
8
DROP DATABASE IF EXISTS federated;
 
9
CREATE DATABASE federated;
 
10
DROP DATABASE IF EXISTS federated;
 
11
CREATE DATABASE federated;
 
12
DROP TABLE IF EXISTS federated.t1;
 
13
Warnings:
 
14
Note    1051    Unknown table 't1'
 
15
CREATE TABLE federated.t1 (
 
16
`id` int(20) NOT NULL,
 
17
`name` varchar(32) NOT NULL default ''
 
18
    )
 
19
DEFAULT CHARSET=latin1;
 
20
DROP TABLE IF EXISTS federated.t1;
 
21
Warnings:
 
22
Note    1051    Unknown table 't1'
 
23
CREATE TABLE federated.t1 (
 
24
`id` int(20) NOT NULL,
 
25
`name` varchar(32) NOT NULL default ''
 
26
    )
 
27
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
28
CONNECTION='mysql://root@127.0.0.1:@/too/many/items/federated/t1';
 
29
ERROR HY000: Can't create federated table. The data source connection string 'mysql://root@127.0.0.1:@/too/many/items/federated/t1' is not in the correct format
 
30
CREATE TABLE federated.t1 (
 
31
`id` int(20) NOT NULL,
 
32
`name` varchar(32) NOT NULL default ''
 
33
    )
 
34
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
35
CONNECTION='mysql://root@127.0.0.1';
 
36
ERROR HY000: Can't create federated table. The data source connection string 'mysql://root@127.0.0.1' is not in the correct format
 
37
CREATE TABLE federated.t1 (
 
38
`id` int(20) NOT NULL,
 
39
`name` varchar(32) NOT NULL default ''
 
40
    )
 
41
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
42
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t3';
 
43
ERROR HY000: Can't create federated table. Foreign data src error:  error: 1146  'Table 'federated.t3' doesn't exist'
 
44
CREATE TABLE federated.t1 (
 
45
`id` int(20) NOT NULL,
 
46
`name` varchar(32) NOT NULL default ''
 
47
    )
 
48
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
49
CONNECTION='mysql://user:pass@127.0.0.1:SLAVE_PORT/federated/t1';
 
50
ERROR HY000: Unable to connect to foreign data source: database: 'federated'  username: 'user'  hostname: '127.0.0.1'
 
51
DROP TABLE IF EXISTS federated.t1;
 
52
Warnings:
 
53
Note    1051    Unknown table 't1'
 
54
CREATE TABLE federated.t1 (
 
55
`id` int(20) NOT NULL,
 
56
`name` varchar(32) NOT NULL default ''
 
57
    )
 
58
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
59
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
60
INSERT INTO federated.t1 (id, name) VALUES (1, 'foo');
 
61
INSERT INTO federated.t1 (id, name) VALUES (2, 'fee');
 
62
SELECT * FROM federated.t1;
 
63
id      name
 
64
1       foo
 
65
2       fee
 
66
DELETE FROM federated.t1;
 
67
DROP TABLE federated.t1;
 
68
DROP TABLE IF EXISTS federated.t2;
 
69
Warnings:
 
70
Note    1051    Unknown table 't2'
 
71
CREATE TABLE federated.t2 (
 
72
`id` int(20) NOT NULL,
 
73
`name` varchar(32) NOT NULL default ''
 
74
    )
 
75
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
76
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
77
SHOW CREATE TABLE federated.t2;
 
78
Table   Create Table
 
79
t2      CREATE TABLE `t2` (
 
80
  `id` int(20) NOT NULL,
 
81
  `name` varchar(32) NOT NULL default ''
 
82
) ENGINE=FEDERATED DEFAULT CHARSET=latin1 CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1'
 
83
INSERT INTO federated.t2 (id, name) VALUES (1, 'foo');
 
84
INSERT INTO federated.t2 (id, name) VALUES (2, 'fee');
 
85
SELECT * FROM federated.t2;
 
86
id      name
 
87
1       foo
 
88
2       fee
 
89
DROP TABLE federated.t2;
 
90
DROP TABLE IF EXISTS federated.t1;
 
91
DROP TABLE IF EXISTS federated.`t1%`;
 
92
Warnings:
 
93
Note    1051    Unknown table 't1%'
 
94
CREATE TABLE federated.`t1%` (
 
95
`id` int(20) NOT NULL,
 
96
`name` varchar(32) NOT NULL default ''
 
97
    )
 
98
DEFAULT CHARSET=latin1;
 
99
DROP TABLE IF EXISTS federated.t1;
 
100
Warnings:
 
101
Note    1051    Unknown table 't1'
 
102
CREATE TABLE federated.t1 (
 
103
`id` int(20) NOT NULL,
 
104
`name` varchar(32) NOT NULL default ''
 
105
    )
 
106
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
107
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1%';
 
108
INSERT INTO federated.t1 (id, name) VALUES (1, 'foo');
 
109
INSERT INTO federated.t1 (id, name) VALUES (2, 'fee');
 
110
SELECT * FROM federated.t1;
 
111
id      name
 
112
1       foo
 
113
2       fee
 
114
DELETE FROM federated.t1;
 
115
DROP TABLE IF EXISTS federated.t1;
 
116
CREATE TABLE federated.`t1%` (
 
117
`id` int(20) NOT NULL,
 
118
`name` varchar(32) NOT NULL default ''
 
119
    )
 
120
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
121
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1%';
 
122
INSERT INTO federated.`t1%` (id, name) VALUES (1, 'foo');
 
123
INSERT INTO federated.`t1%` (id, name) VALUES (2, 'fee');
 
124
SELECT * FROM federated.`t1%`;
 
125
id      name
 
126
1       foo
 
127
2       fee
 
128
DELETE FROM federated.`t1%`;
 
129
DROP TABLE IF EXISTS federated.`t1%`;
 
130
DROP TABLE IF EXISTS federated.`t1%`;
 
131
DROP TABLE IF EXISTS federated.t1;
 
132
Warnings:
 
133
Note    1051    Unknown table 't1'
 
134
CREATE TABLE federated.t1 (
 
135
`id` int(20) NOT NULL auto_increment,
 
136
`name` varchar(32) NOT NULL default '',
 
137
`other` int(20) NOT NULL default '0',
 
138
`created` datetime default '2004-04-04 04:04:04',
 
139
PRIMARY KEY  (`id`))
 
140
DEFAULT CHARSET=latin1;
 
141
CREATE TABLE federated.t1 (
 
142
`id` int(20) NOT NULL auto_increment,
 
143
`name` varchar(32) NOT NULL default '',
 
144
`other` int(20) NOT NULL default '0',
 
145
`created` datetime default '2004-04-04 04:04:04',
 
146
PRIMARY KEY  (`id`))
 
147
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
148
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
149
INSERT INTO federated.t1 (name, other) VALUES ('First Name', 11111);
 
150
INSERT INTO federated.t1 (name, other) VALUES ('Second Name', 22222);
 
151
INSERT INTO federated.t1 (name, other) VALUES ('Third Name', 33333);
 
152
INSERT INTO federated.t1 (name, other) VALUES ('Fourth Name', 44444);
 
153
INSERT INTO federated.t1 (name, other) VALUES ('Fifth Name', 55555);
 
154
INSERT INTO federated.t1 (name, other) VALUES ('Sixth Name', 66666);
 
155
INSERT INTO federated.t1 (name, other) VALUES ('Seventh Name', 77777);
 
156
INSERT INTO federated.t1 (name, other) VALUES ('Eigth Name', 88888);
 
157
INSERT INTO federated.t1 (name, other) VALUES ('Ninth Name', 99999);
 
158
INSERT INTO federated.t1 (name, other) VALUES ('Tenth Name', 101010);
 
159
SELECT * FROM federated.t1;
 
160
id      name    other   created
 
161
1       First Name      11111   2004-04-04 04:04:04
 
162
2       Second Name     22222   2004-04-04 04:04:04
 
163
3       Third Name      33333   2004-04-04 04:04:04
 
164
4       Fourth Name     44444   2004-04-04 04:04:04
 
165
5       Fifth Name      55555   2004-04-04 04:04:04
 
166
6       Sixth Name      66666   2004-04-04 04:04:04
 
167
7       Seventh Name    77777   2004-04-04 04:04:04
 
168
8       Eigth Name      88888   2004-04-04 04:04:04
 
169
9       Ninth Name      99999   2004-04-04 04:04:04
 
170
10      Tenth Name      101010  2004-04-04 04:04:04
 
171
SELECT * FROM federated.t1 WHERE id = 5;
 
172
id      name    other   created
 
173
5       Fifth Name      55555   2004-04-04 04:04:04
 
174
SELECT * FROM federated.t1 WHERE name = 'Sixth Name';
 
175
id      name    other   created
 
176
6       Sixth Name      66666   2004-04-04 04:04:04
 
177
SELECT * FROM federated.t1 WHERE id = 6 and name = 'Sixth Name';
 
178
id      name    other   created
 
179
6       Sixth Name      66666   2004-04-04 04:04:04
 
180
SELECT * FROM federated.t1 WHERE name = 'Sixth Name' AND other = 44444;
 
181
id      name    other   created
 
182
SELECT * FROM federated.t1 WHERE name like '%th%';
 
183
id      name    other   created
 
184
3       Third Name      33333   2004-04-04 04:04:04
 
185
4       Fourth Name     44444   2004-04-04 04:04:04
 
186
5       Fifth Name      55555   2004-04-04 04:04:04
 
187
6       Sixth Name      66666   2004-04-04 04:04:04
 
188
7       Seventh Name    77777   2004-04-04 04:04:04
 
189
8       Eigth Name      88888   2004-04-04 04:04:04
 
190
9       Ninth Name      99999   2004-04-04 04:04:04
 
191
10      Tenth Name      101010  2004-04-04 04:04:04
 
192
UPDATE federated.t1 SET name = '3rd name' WHERE id = 3;
 
193
SELECT * FROM federated.t1 WHERE name = '3rd name';
 
194
id      name    other   created
 
195
3       3rd name        33333   2004-04-04 04:04:04
 
196
UPDATE federated.t1 SET name = 'Third name' WHERE name = '3rd name';
 
197
SELECT * FROM federated.t1 WHERE name = 'Third name';
 
198
id      name    other   created
 
199
3       Third name      33333   2004-04-04 04:04:04
 
200
SELECT * FROM federated.t1 ORDER BY id DESC;
 
201
id      name    other   created
 
202
10      Tenth Name      101010  2004-04-04 04:04:04
 
203
9       Ninth Name      99999   2004-04-04 04:04:04
 
204
8       Eigth Name      88888   2004-04-04 04:04:04
 
205
7       Seventh Name    77777   2004-04-04 04:04:04
 
206
6       Sixth Name      66666   2004-04-04 04:04:04
 
207
5       Fifth Name      55555   2004-04-04 04:04:04
 
208
4       Fourth Name     44444   2004-04-04 04:04:04
 
209
3       Third name      33333   2004-04-04 04:04:04
 
210
2       Second Name     22222   2004-04-04 04:04:04
 
211
1       First Name      11111   2004-04-04 04:04:04
 
212
SELECT * FROM federated.t1 ORDER BY name;
 
213
id      name    other   created
 
214
8       Eigth Name      88888   2004-04-04 04:04:04
 
215
5       Fifth Name      55555   2004-04-04 04:04:04
 
216
1       First Name      11111   2004-04-04 04:04:04
 
217
4       Fourth Name     44444   2004-04-04 04:04:04
 
218
9       Ninth Name      99999   2004-04-04 04:04:04
 
219
2       Second Name     22222   2004-04-04 04:04:04
 
220
7       Seventh Name    77777   2004-04-04 04:04:04
 
221
6       Sixth Name      66666   2004-04-04 04:04:04
 
222
10      Tenth Name      101010  2004-04-04 04:04:04
 
223
3       Third name      33333   2004-04-04 04:04:04
 
224
SELECT * FROM federated.t1 ORDER BY name DESC;
 
225
id      name    other   created
 
226
3       Third name      33333   2004-04-04 04:04:04
 
227
10      Tenth Name      101010  2004-04-04 04:04:04
 
228
6       Sixth Name      66666   2004-04-04 04:04:04
 
229
7       Seventh Name    77777   2004-04-04 04:04:04
 
230
2       Second Name     22222   2004-04-04 04:04:04
 
231
9       Ninth Name      99999   2004-04-04 04:04:04
 
232
4       Fourth Name     44444   2004-04-04 04:04:04
 
233
1       First Name      11111   2004-04-04 04:04:04
 
234
5       Fifth Name      55555   2004-04-04 04:04:04
 
235
8       Eigth Name      88888   2004-04-04 04:04:04
 
236
SELECT * FROM federated.t1 ORDER BY name ASC;
 
237
id      name    other   created
 
238
8       Eigth Name      88888   2004-04-04 04:04:04
 
239
5       Fifth Name      55555   2004-04-04 04:04:04
 
240
1       First Name      11111   2004-04-04 04:04:04
 
241
4       Fourth Name     44444   2004-04-04 04:04:04
 
242
9       Ninth Name      99999   2004-04-04 04:04:04
 
243
2       Second Name     22222   2004-04-04 04:04:04
 
244
7       Seventh Name    77777   2004-04-04 04:04:04
 
245
6       Sixth Name      66666   2004-04-04 04:04:04
 
246
10      Tenth Name      101010  2004-04-04 04:04:04
 
247
3       Third name      33333   2004-04-04 04:04:04
 
248
SELECT * FROM federated.t1 GROUP BY other;
 
249
id      name    other   created
 
250
1       First Name      11111   2004-04-04 04:04:04
 
251
2       Second Name     22222   2004-04-04 04:04:04
 
252
3       Third name      33333   2004-04-04 04:04:04
 
253
4       Fourth Name     44444   2004-04-04 04:04:04
 
254
5       Fifth Name      55555   2004-04-04 04:04:04
 
255
6       Sixth Name      66666   2004-04-04 04:04:04
 
256
7       Seventh Name    77777   2004-04-04 04:04:04
 
257
8       Eigth Name      88888   2004-04-04 04:04:04
 
258
9       Ninth Name      99999   2004-04-04 04:04:04
 
259
10      Tenth Name      101010  2004-04-04 04:04:04
 
260
DELETE FROM federated.t1 WHERE id = 5;
 
261
SELECT * FROM federated.t1 WHERE id = 5;
 
262
id      name    other   created
 
263
DELETE FROM federated.t1;
 
264
SELECT * FROM federated.t1 WHERE id = 5;
 
265
id      name    other   created
 
266
DROP TABLE IF EXISTS federated.t1;
 
267
CREATE TABLE federated.t1 (
 
268
`id` int(20) NOT NULL auto_increment,
 
269
`name` varchar(32) NOT NULL default '',
 
270
`other` int(20) NOT NULL default '0',
 
271
`created` datetime NOT NULL,
 
272
PRIMARY KEY  (`id`),
 
273
key name(`name`),
 
274
key other(`other`),
 
275
key created(`created`))
 
276
DEFAULT CHARSET=latin1;
 
277
DROP TABLE IF EXISTS federated.t1;
 
278
CREATE TABLE federated.t1 (
 
279
`id` int(20) NOT NULL auto_increment,
 
280
`name` varchar(32) NOT NULL default '',
 
281
`other` int(20) NOT NULL default '0',
 
282
`created` datetime NOT NULL,
 
283
PRIMARY KEY  (`id`),
 
284
key name(`name`),
 
285
key other(`other`),
 
286
key created(`created`))
 
287
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
288
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
289
INSERT INTO federated.t1 (name, other, created)
 
290
VALUES ('First Name', 11111, '2004-01-01 01:01:01');
 
291
INSERT INTO federated.t1 (name, other, created)
 
292
VALUES ('Second Name', 22222, '2004-01-23 02:43:00');
 
293
INSERT INTO federated.t1 (name, other, created)
 
294
VALUES ('Third Name', 33333, '2004-02-14 02:14:00');
 
295
INSERT INTO federated.t1 (name, other, created)
 
296
VALUES ('Fourth Name', 44444, '2003-04-05 00:00:00');
 
297
INSERT INTO federated.t1 (name, other, created) 
 
298
VALUES ('Fifth Name', 55555, '2001-02-02 02:02:02');
 
299
INSERT INTO federated.t1 (name, other, created) 
 
300
VALUES ('Sixth Name', 66666, '2005-06-06 15:30:00');
 
301
INSERT INTO federated.t1 (name, other, created) 
 
302
VALUES ('Seventh Name', 77777, '2003-12-12 18:32:00');
 
303
INSERT INTO federated.t1 (name, other, created) 
 
304
VALUES ('Eigth Name', 88888, '2005-03-12 11:00:00');
 
305
INSERT INTO federated.t1 (name, other, created) 
 
306
VALUES ('Ninth Name', 99999, '2005-03-12 11:00:01');
 
307
INSERT INTO federated.t1 (name, other, created) 
 
308
VALUES ('Tenth Name', 101010, '2005-03-12 12:00:01');
 
309
SELECT * FROM federated.t1;
 
310
id      name    other   created
 
311
1       First Name      11111   2004-01-01 01:01:01
 
312
2       Second Name     22222   2004-01-23 02:43:00
 
313
3       Third Name      33333   2004-02-14 02:14:00
 
314
4       Fourth Name     44444   2003-04-05 00:00:00
 
315
5       Fifth Name      55555   2001-02-02 02:02:02
 
316
6       Sixth Name      66666   2005-06-06 15:30:00
 
317
7       Seventh Name    77777   2003-12-12 18:32:00
 
318
8       Eigth Name      88888   2005-03-12 11:00:00
 
319
9       Ninth Name      99999   2005-03-12 11:00:01
 
320
10      Tenth Name      101010  2005-03-12 12:00:01
 
321
SELECT * FROM federated.t1 WHERE id = 5;
 
322
id      name    other   created
 
323
5       Fifth Name      55555   2001-02-02 02:02:02
 
324
SELECT * FROM federated.t1 WHERE id = 6 and name = 'Sixth Name';
 
325
id      name    other   created
 
326
6       Sixth Name      66666   2005-06-06 15:30:00
 
327
SELECT * FROM federated.t1 WHERE other = 44444;
 
328
id      name    other   created
 
329
4       Fourth Name     44444   2003-04-05 00:00:00
 
330
SELECT * FROM federated.t1 WHERE name like '%th%';
 
331
id      name    other   created
 
332
3       Third Name      33333   2004-02-14 02:14:00
 
333
4       Fourth Name     44444   2003-04-05 00:00:00
 
334
5       Fifth Name      55555   2001-02-02 02:02:02
 
335
6       Sixth Name      66666   2005-06-06 15:30:00
 
336
7       Seventh Name    77777   2003-12-12 18:32:00
 
337
8       Eigth Name      88888   2005-03-12 11:00:00
 
338
9       Ninth Name      99999   2005-03-12 11:00:01
 
339
10      Tenth Name      101010  2005-03-12 12:00:01
 
340
UPDATE federated.t1 SET name = '3rd name' WHERE id = 3;
 
341
SELECT * FROM federated.t1 WHERE name = '3rd name';
 
342
id      name    other   created
 
343
3       3rd name        33333   2004-02-14 02:14:00
 
344
UPDATE federated.t1 SET name = 'Third name' WHERE name = '3rd name';
 
345
SELECT * FROM federated.t1 WHERE name = 'Third name';
 
346
id      name    other   created
 
347
3       Third name      33333   2004-02-14 02:14:00
 
348
SELECT * FROM federated.t1 ORDER BY id DESC;
 
349
id      name    other   created
 
350
10      Tenth Name      101010  2005-03-12 12:00:01
 
351
9       Ninth Name      99999   2005-03-12 11:00:01
 
352
8       Eigth Name      88888   2005-03-12 11:00:00
 
353
7       Seventh Name    77777   2003-12-12 18:32:00
 
354
6       Sixth Name      66666   2005-06-06 15:30:00
 
355
5       Fifth Name      55555   2001-02-02 02:02:02
 
356
4       Fourth Name     44444   2003-04-05 00:00:00
 
357
3       Third name      33333   2004-02-14 02:14:00
 
358
2       Second Name     22222   2004-01-23 02:43:00
 
359
1       First Name      11111   2004-01-01 01:01:01
 
360
SELECT * FROM federated.t1 ORDER BY name;
 
361
id      name    other   created
 
362
8       Eigth Name      88888   2005-03-12 11:00:00
 
363
5       Fifth Name      55555   2001-02-02 02:02:02
 
364
1       First Name      11111   2004-01-01 01:01:01
 
365
4       Fourth Name     44444   2003-04-05 00:00:00
 
366
9       Ninth Name      99999   2005-03-12 11:00:01
 
367
2       Second Name     22222   2004-01-23 02:43:00
 
368
7       Seventh Name    77777   2003-12-12 18:32:00
 
369
6       Sixth Name      66666   2005-06-06 15:30:00
 
370
10      Tenth Name      101010  2005-03-12 12:00:01
 
371
3       Third name      33333   2004-02-14 02:14:00
 
372
SELECT * FROM federated.t1 ORDER BY name DESC;
 
373
id      name    other   created
 
374
3       Third name      33333   2004-02-14 02:14:00
 
375
10      Tenth Name      101010  2005-03-12 12:00:01
 
376
6       Sixth Name      66666   2005-06-06 15:30:00
 
377
7       Seventh Name    77777   2003-12-12 18:32:00
 
378
2       Second Name     22222   2004-01-23 02:43:00
 
379
9       Ninth Name      99999   2005-03-12 11:00:01
 
380
4       Fourth Name     44444   2003-04-05 00:00:00
 
381
1       First Name      11111   2004-01-01 01:01:01
 
382
5       Fifth Name      55555   2001-02-02 02:02:02
 
383
8       Eigth Name      88888   2005-03-12 11:00:00
 
384
SELECT * FROM federated.t1 ORDER BY name ASC;
 
385
id      name    other   created
 
386
8       Eigth Name      88888   2005-03-12 11:00:00
 
387
5       Fifth Name      55555   2001-02-02 02:02:02
 
388
1       First Name      11111   2004-01-01 01:01:01
 
389
4       Fourth Name     44444   2003-04-05 00:00:00
 
390
9       Ninth Name      99999   2005-03-12 11:00:01
 
391
2       Second Name     22222   2004-01-23 02:43:00
 
392
7       Seventh Name    77777   2003-12-12 18:32:00
 
393
6       Sixth Name      66666   2005-06-06 15:30:00
 
394
10      Tenth Name      101010  2005-03-12 12:00:01
 
395
3       Third name      33333   2004-02-14 02:14:00
 
396
SELECT * FROM federated.t1 GROUP BY other;
 
397
id      name    other   created
 
398
1       First Name      11111   2004-01-01 01:01:01
 
399
2       Second Name     22222   2004-01-23 02:43:00
 
400
3       Third name      33333   2004-02-14 02:14:00
 
401
4       Fourth Name     44444   2003-04-05 00:00:00
 
402
5       Fifth Name      55555   2001-02-02 02:02:02
 
403
6       Sixth Name      66666   2005-06-06 15:30:00
 
404
7       Seventh Name    77777   2003-12-12 18:32:00
 
405
8       Eigth Name      88888   2005-03-12 11:00:00
 
406
9       Ninth Name      99999   2005-03-12 11:00:01
 
407
10      Tenth Name      101010  2005-03-12 12:00:01
 
408
DELETE FROM federated.t1 WHERE id = 5;
 
409
SELECT * FROM federated.t1 WHERE id = 5;
 
410
id      name    other   created
 
411
DELETE FROM federated.t1;
 
412
SELECT * FROM federated.t1 WHERE id = 5;
 
413
id      name    other   created
 
414
DROP TABLE IF EXISTS federated.t1;
 
415
CREATE TABLE federated.t1 ( 
 
416
`id` int(20) NOT NULL auto_increment,
 
417
`name` varchar(32),
 
418
`other` varchar(20),
 
419
PRIMARY KEY  (`id`) );
 
420
DROP TABLE IF EXISTS federated.t1;
 
421
CREATE TABLE federated.t1 (
 
422
`id` int(20) NOT NULL auto_increment,
 
423
`name` varchar(32), 
 
424
`other` varchar(20),
 
425
PRIMARY KEY  (`id`) )
 
426
ENGINE="FEDERATED"
 
427
  DEFAULT CHARSET=latin1
 
428
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
429
INSERT INTO federated.t1 (name, other) VALUES ('First Name', 11111);
 
430
INSERT INTO federated.t1 (name, other) VALUES ('Second Name', NULL);
 
431
INSERT INTO federated.t1 (name, other) VALUES ('Third Name', 33333);
 
432
INSERT INTO federated.t1 (name, other) VALUES (NULL, NULL);
 
433
INSERT INTO federated.t1 (name, other) VALUES ('Fifth Name', 55555);
 
434
INSERT INTO federated.t1 (name, other) VALUES ('Sixth Name', 66666);
 
435
INSERT INTO federated.t1 (name) VALUES ('Seventh Name');
 
436
INSERT INTO federated.t1 (name, other) VALUES ('Eigth Name', 88888);
 
437
INSERT INTO federated.t1 (name, other) VALUES ('Ninth Name', 99999);
 
438
INSERT INTO federated.t1 (other) VALUES ('fee fie foe fum');
 
439
SELECT * FROM federated.t1 WHERE other IS NULL;
 
440
id      name    other
 
441
2       Second Name     NULL
 
442
4       NULL    NULL
 
443
7       Seventh Name    NULL
 
444
SELECT * FROM federated.t1 WHERE name IS NULL;
 
445
id      name    other
 
446
4       NULL    NULL
 
447
10      NULL    fee fie foe fum
 
448
SELECT * FROM federated.t1 WHERE name IS NULL and other IS NULL;
 
449
id      name    other
 
450
4       NULL    NULL
 
451
SELECT * FROM federated.t1 WHERE name IS NULL or other IS NULL;
 
452
id      name    other
 
453
2       Second Name     NULL
 
454
4       NULL    NULL
 
455
7       Seventh Name    NULL
 
456
10      NULL    fee fie foe fum
 
457
UPDATE federated.t1
 
458
SET name = 'Fourth Name', other = 'four four four'
 
459
WHERE name IS NULL AND other IS NULL;
 
460
UPDATE federated.t1 SET other = 'two two two two' WHERE name = 'Second Name';
 
461
UPDATE federated.t1 SET other = 'seven seven' WHERE name like 'Sev%';
 
462
UPDATE federated.t1 SET name = 'Tenth Name' WHERE other like 'fee fie%';
 
463
SELECT * FROM federated.t1 WHERE name IS NULL OR other IS NULL ;
 
464
id      name    other
 
465
SELECT * FROM federated.t1;
 
466
id      name    other
 
467
1       First Name      11111
 
468
2       Second Name     two two two two
 
469
3       Third Name      33333
 
470
4       Fourth Name     four four four
 
471
5       Fifth Name      55555
 
472
6       Sixth Name      66666
 
473
7       Seventh Name    seven seven
 
474
8       Eigth Name      88888
 
475
9       Ninth Name      99999
 
476
10      Tenth Name      fee fie foe fum
 
477
DROP TABLE IF EXISTS federated.t1;
 
478
CREATE TABLE federated.t1 (
 
479
`id` int(20) NOT NULL auto_increment,
 
480
`name` varchar(32) NOT NULL DEFAULT '',
 
481
`other` varchar(20) NOT NULL DEFAULT '',
 
482
PRIMARY KEY  (`id`),
 
483
KEY nameoth (name, other) );
 
484
DROP TABLE IF EXISTS federated.t1;
 
485
CREATE TABLE federated.t1 (
 
486
`id` int(20) NOT NULL auto_increment,
 
487
`name` varchar(32) NOT NULL DEFAULT '',
 
488
`other` varchar(20) NOT NULL DEFAULT '',
 
489
PRIMARY KEY  (`id`),
 
490
KEY nameoth (name, other))
 
491
ENGINE="FEDERATED" DEFAULT
 
492
CHARSET=latin1
 
493
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
494
INSERT INTO federated.t1 (name, other) VALUES ('First Name', '1111');
 
495
INSERT INTO federated.t1 (name, other) VALUES ('Second Name', '2222');
 
496
INSERT INTO federated.t1 (name, other) VALUES ('Third Name', '3333');
 
497
SELECT * FROM federated.t1 WHERE name = 'Second Name';
 
498
id      name    other
 
499
2       Second Name     2222
 
500
SELECT * FROM federated.t1 WHERE other = '2222';
 
501
id      name    other
 
502
2       Second Name     2222
 
503
SELECT * FROM federated.t1 WHERE name = 'Third Name';
 
504
id      name    other
 
505
3       Third Name      3333
 
506
SELECT * FROM federated.t1 WHERE name = 'Third Name' AND other = '3333';
 
507
id      name    other
 
508
3       Third Name      3333
 
509
DROP TABLE IF EXISTS federated.t1;
 
510
CREATE TABLE federated.t1 (
 
511
`id` int NOT NULL auto_increment,
 
512
`name` char(32) NOT NULL DEFAULT '',
 
513
`bincol` binary(1) NOT NULL,
 
514
`floatval` decimal(5,2) NOT NULL DEFAULT 0.0,
 
515
`other` int NOT NULL DEFAULT 0,
 
516
PRIMARY KEY (id),
 
517
KEY nameoth(name, other),
 
518
KEY bincol(bincol),
 
519
KEY floatval(floatval));
 
520
DROP TABLE IF EXISTS federated.t1;
 
521
CREATE TABLE federated.t1 (
 
522
`id` int NOT NULL auto_increment,
 
523
`name` char(32) NOT NULL DEFAULT '',
 
524
`bincol` binary(1) NOT NULL,
 
525
`floatval` decimal(5,2) NOT NULL DEFAULT 0.0,
 
526
`other` int NOT NULL DEFAULT 0,
 
527
PRIMARY KEY (id),
 
528
KEY nameoth(name,other),
 
529
KEY bincol(bincol),
 
530
KEY floatval(floatval))
 
531
ENGINE="FEDERATED"
 
532
  DEFAULT CHARSET=latin1
 
533
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
534
INSERT INTO federated.t1 (name, bincol, floatval, other) 
 
535
VALUES ('first', 0x65, 11.11, 1111);
 
536
INSERT INTO federated.t1 (name, bincol, floatval, other)
 
537
VALUES ('second', 0x66, 22.22, 2222);
 
538
INSERT INTO federated.t1 (name, bincol, floatval, other)
 
539
VALUES ('third', 'g', 22.22, 2222);
 
540
SELECT * FROM federated.t1;
 
541
id      name    bincol  floatval        other
 
542
1       first   e       11.11   1111
 
543
2       second  f       22.22   2222
 
544
3       third   g       22.22   2222
 
545
SELECT * FROM federated.t1 WHERE name = 'second';
 
546
id      name    bincol  floatval        other
 
547
2       second  f       22.22   2222
 
548
SELECT * FROM federated.t1 WHERE bincol= 'f';
 
549
id      name    bincol  floatval        other
 
550
2       second  f       22.22   2222
 
551
SELECT * FROM federated.t1 WHERE bincol= 0x66;
 
552
id      name    bincol  floatval        other
 
553
2       second  f       22.22   2222
 
554
SELECT * FROM federated.t1 WHERE bincol= 0x67;
 
555
id      name    bincol  floatval        other
 
556
3       third   g       22.22   2222
 
557
SELECT * FROM federated.t1 WHERE bincol= 'g';
 
558
id      name    bincol  floatval        other
 
559
3       third   g       22.22   2222
 
560
SELECT * FROM federated.t1 WHERE floatval=11.11;
 
561
id      name    bincol  floatval        other
 
562
1       first   e       11.11   1111
 
563
SELECT * FROM federated.t1 WHERE name='third';
 
564
id      name    bincol  floatval        other
 
565
3       third   g       22.22   2222
 
566
SELECT * FROM federated.t1 WHERE other=2222;
 
567
id      name    bincol  floatval        other
 
568
2       second  f       22.22   2222
 
569
3       third   g       22.22   2222
 
570
SELECT * FROM federated.t1 WHERE name='third' and other=2222;
 
571
id      name    bincol  floatval        other
 
572
3       third   g       22.22   2222
 
573
DROP TABLE IF EXISTS federated.t1;
 
574
CREATE TABLE federated.t1 (
 
575
`id` int NOT NULL auto_increment,
 
576
`col1` int(10) NOT NULL DEFAULT 0,
 
577
`col2` varchar(64) NOT NULL DEFAULT '',
 
578
`col3` int(20) NOT NULL,
 
579
`col4` int(40) NOT NULL,
 
580
primary key (`id`, `col1`, `col2`, `col3`, `col4`),
 
581
key col1(col1),
 
582
key col2(col2),
 
583
key col3(col3),
 
584
key col4(col4));
 
585
DROP TABLE IF EXISTS federated.t1;
 
586
CREATE TABLE federated.t1 (
 
587
`id` int NOT NULL auto_increment,
 
588
`col1` int(10) NOT NULL DEFAULT 0,
 
589
`col2` varchar(64) NOT NULL DEFAULT '',
 
590
`col3` int(20) NOT NULL,
 
591
`col4` int(40) NOT NULL,
 
592
primary key (`id`, `col1`, `col2`, `col3`, `col4`),
 
593
key col1(col1),
 
594
key col2(col2),
 
595
key col3(col3),
 
596
key col4(col4))
 
597
ENGINE="FEDERATED"
 
598
  CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
599
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
600
VALUES (1, 'one One', 11, 1111);
 
601
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
602
VALUES (2, 'Two two', 22, 2222);
 
603
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
604
VALUES (3, 'three Three', 33, 33333);
 
605
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
606
VALUES (4, 'fourfourfour', 444, 4444444);
 
607
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
608
VALUES (5, 'five 5 five five 5', 5, 55555);
 
609
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
610
VALUES (6, 'six six Sixsix', 6666, 6);
 
611
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
612
VALUES (7, 'seven Sevenseven', 77777, 7777);
 
613
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
614
VALUES (8, 'eight eight eight', 88888, 88);
 
615
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
616
VALUES (9, 'nine Nine', 999999, 999999);
 
617
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
618
VALUES (10, 'Tenth ten TEN', 1010101, 1010);
 
619
SELECT * FROM federated.t1 WHERE col2 = 'two two';
 
620
id      col1    col2    col3    col4
 
621
2       2       Two two 22      2222
 
622
SELECT * FROM federated.t1 WHERE col2 = 'two Two';
 
623
id      col1    col2    col3    col4
 
624
2       2       Two two 22      2222
 
625
SELECT * FROM federated.t1 WHERE id = 3;
 
626
id      col1    col2    col3    col4
 
627
3       3       three Three     33      33333
 
628
SELECT * FROM federated.t1 WHERE id = 3 AND col1 = 3;
 
629
id      col1    col2    col3    col4
 
630
3       3       three Three     33      33333
 
631
SELECT * FROM federated.t1 WHERE id = 4 AND col1 = 4 AND col2 = 'Two two';
 
632
id      col1    col2    col3    col4
 
633
SELECT * FROM federated.t1 WHERE id = 4 AND col1 = 4 AND col2 = 'fourfourfour';
 
634
id      col1    col2    col3    col4
 
635
4       4       fourfourfour    444     4444444
 
636
SELECT * FROM federated.t1 WHERE id = 5 AND col2 = 'five 5 five five 5' 
 
637
AND col3 = 5;
 
638
id      col1    col2    col3    col4
 
639
5       5       five 5 five five 5      5       55555
 
640
SELECT * FROM federated.t1 WHERE id = 5 AND col2 = 'five 5 five five 5' 
 
641
AND col3 = 5
 
642
AND col4 = 55555;
 
643
id      col1    col2    col3    col4
 
644
5       5       five 5 five five 5      5       55555
 
645
SELECT * FROM federated.t1 WHERE id = 5 
 
646
AND col2 = 'Two two' AND col3 = 22
 
647
AND col4 = 33;
 
648
id      col1    col2    col3    col4
 
649
SELECT * FROM federated.t1 WHERE id = 5 
 
650
AND col2 = 'five 5 five five 5' AND col3 = 5 
 
651
AND col4 = 55555;
 
652
id      col1    col2    col3    col4
 
653
5       5       five 5 five five 5      5       55555
 
654
SELECT * FROM federated.t1 WHERE (id = 5 AND col2 = 'five 5 five five 5')
 
655
OR (col2 = 'three Three' AND col3 = 33);
 
656
id      col1    col2    col3    col4
 
657
5       5       five 5 five five 5      5       55555
 
658
3       3       three Three     33      33333
 
659
SELECT * FROM federated.t1 WHERE (id = 5 AND col2 = 'Two two')
 
660
OR (col2 = 444 AND col3 = 4444444);
 
661
id      col1    col2    col3    col4
 
662
SELECT * FROM federated.t1 WHERE id = 1 
 
663
OR col1 = 10
 
664
OR col2 = 'Two two' 
 
665
OR col3 = 33
 
666
OR col4 = 4444444;
 
667
id      col1    col2    col3    col4
 
668
1       1       one One 11      1111
 
669
2       2       Two two 22      2222
 
670
3       3       three Three     33      33333
 
671
4       4       fourfourfour    444     4444444
 
672
10      10      Tenth ten TEN   1010101 1010
 
673
SELECT * FROM federated.t1 WHERE id > 5;
 
674
id      col1    col2    col3    col4
 
675
6       6       six six Sixsix  6666    6
 
676
7       7       seven Sevenseven        77777   7777
 
677
8       8       eight eight eight       88888   88
 
678
9       9       nine Nine       999999  999999
 
679
10      10      Tenth ten TEN   1010101 1010
 
680
SELECT * FROM federated.t1 WHERE id >= 5;
 
681
id      col1    col2    col3    col4
 
682
5       5       five 5 five five 5      5       55555
 
683
6       6       six six Sixsix  6666    6
 
684
7       7       seven Sevenseven        77777   7777
 
685
8       8       eight eight eight       88888   88
 
686
9       9       nine Nine       999999  999999
 
687
10      10      Tenth ten TEN   1010101 1010
 
688
SELECT * FROM federated.t1 WHERE id < 5;
 
689
id      col1    col2    col3    col4
 
690
1       1       one One 11      1111
 
691
2       2       Two two 22      2222
 
692
3       3       three Three     33      33333
 
693
4       4       fourfourfour    444     4444444
 
694
SELECT * FROM federated.t1 WHERE id <= 5;
 
695
id      col1    col2    col3    col4
 
696
1       1       one One 11      1111
 
697
2       2       Two two 22      2222
 
698
3       3       three Three     33      33333
 
699
4       4       fourfourfour    444     4444444
 
700
5       5       five 5 five five 5      5       55555
 
701
SELECT * FROM federated.t1 WHERE id != 5;
 
702
id      col1    col2    col3    col4
 
703
1       1       one One 11      1111
 
704
2       2       Two two 22      2222
 
705
3       3       three Three     33      33333
 
706
4       4       fourfourfour    444     4444444
 
707
6       6       six six Sixsix  6666    6
 
708
7       7       seven Sevenseven        77777   7777
 
709
8       8       eight eight eight       88888   88
 
710
9       9       nine Nine       999999  999999
 
711
10      10      Tenth ten TEN   1010101 1010
 
712
SELECT * FROM federated.t1 WHERE id > 3 AND id < 7;
 
713
id      col1    col2    col3    col4
 
714
4       4       fourfourfour    444     4444444
 
715
5       5       five 5 five five 5      5       55555
 
716
6       6       six six Sixsix  6666    6
 
717
SELECT * FROM federated.t1 WHERE id > 3 AND id <= 7;
 
718
id      col1    col2    col3    col4
 
719
4       4       fourfourfour    444     4444444
 
720
5       5       five 5 five five 5      5       55555
 
721
6       6       six six Sixsix  6666    6
 
722
7       7       seven Sevenseven        77777   7777
 
723
SELECT * FROM federated.t1 WHERE id >= 3 AND id <= 7;
 
724
id      col1    col2    col3    col4
 
725
3       3       three Three     33      33333
 
726
4       4       fourfourfour    444     4444444
 
727
5       5       five 5 five five 5      5       55555
 
728
6       6       six six Sixsix  6666    6
 
729
7       7       seven Sevenseven        77777   7777
 
730
SELECT * FROM federated.t1 WHERE id < 3 AND id <= 7;
 
731
id      col1    col2    col3    col4
 
732
1       1       one One 11      1111
 
733
2       2       Two two 22      2222
 
734
SELECT * FROM federated.t1 WHERE id < 3 AND id > 7;
 
735
id      col1    col2    col3    col4
 
736
SELECT * FROM federated.t1 WHERE id < 3 OR id > 7;
 
737
id      col1    col2    col3    col4
 
738
1       1       one One 11      1111
 
739
2       2       Two two 22      2222
 
740
8       8       eight eight eight       88888   88
 
741
9       9       nine Nine       999999  999999
 
742
10      10      Tenth ten TEN   1010101 1010
 
743
SELECT * FROM federated.t1 WHERE col2 = 'three Three';
 
744
id      col1    col2    col3    col4
 
745
3       3       three Three     33      33333
 
746
SELECT * FROM federated.t1 WHERE col2 > 'one';
 
747
id      col1    col2    col3    col4
 
748
1       1       one One 11      1111
 
749
2       2       Two two 22      2222
 
750
3       3       three Three     33      33333
 
751
6       6       six six Sixsix  6666    6
 
752
7       7       seven Sevenseven        77777   7777
 
753
10      10      Tenth ten TEN   1010101 1010
 
754
SELECT * FROM federated.t1 WHERE col2 LIKE 's%';
 
755
id      col1    col2    col3    col4
 
756
7       7       seven Sevenseven        77777   7777
 
757
6       6       six six Sixsix  6666    6
 
758
SELECT * FROM federated.t1 WHERE col2 LIKE 'si%';
 
759
id      col1    col2    col3    col4
 
760
6       6       six six Sixsix  6666    6
 
761
SELECT * FROM federated.t1 WHERE col2 LIKE 'se%';
 
762
id      col1    col2    col3    col4
 
763
7       7       seven Sevenseven        77777   7777
 
764
SELECT * FROM federated.t1 WHERE col2 NOT LIKE 'e%';
 
765
id      col1    col2    col3    col4
 
766
1       1       one One 11      1111
 
767
2       2       Two two 22      2222
 
768
3       3       three Three     33      33333
 
769
4       4       fourfourfour    444     4444444
 
770
5       5       five 5 five five 5      5       55555
 
771
6       6       six six Sixsix  6666    6
 
772
7       7       seven Sevenseven        77777   7777
 
773
9       9       nine Nine       999999  999999
 
774
10      10      Tenth ten TEN   1010101 1010
 
775
SELECT * FROM federated.t1 WHERE col2 <> 'one One';
 
776
id      col1    col2    col3    col4
 
777
4       4       fourfourfour    444     4444444
 
778
5       5       five 5 five five 5      5       55555
 
779
8       8       eight eight eight       88888   88
 
780
9       9       nine Nine       999999  999999
 
781
2       2       Two two 22      2222
 
782
3       3       three Three     33      33333
 
783
6       6       six six Sixsix  6666    6
 
784
7       7       seven Sevenseven        77777   7777
 
785
10      10      Tenth ten TEN   1010101 1010
 
786
DROP TABLE IF EXISTS federated.t1;
 
787
CREATE TABLE federated.t1 (
 
788
`col1` varchar(8) NOT NULL DEFAULT '',
 
789
`col2` varchar(128) NOT NULL DEFAULT '',
 
790
`col3` varchar(20) NOT NULL DEFAULT '',
 
791
`col4` varchar(40) NOT NULL DEFAULT '',
 
792
primary key (`col1`, `col2`, `col3`, `col4`),
 
793
key 3key(`col2`,`col3`,`col4`),
 
794
key 2key (`col3`,`col4`),
 
795
key col4(col4));
 
796
DROP TABLE IF EXISTS federated.t1;
 
797
CREATE TABLE federated.t1 (
 
798
`col1` varchar(8) NOT NULL DEFAULT '',
 
799
`col2` varchar(128) NOT NULL DEFAULT '',
 
800
`col3` varchar(20) NOT NULL DEFAULT '',
 
801
`col4` varchar(40) NOT NULL DEFAULT '',
 
802
primary key (`col1`, `col2`, `col3`, `col4`),
 
803
key 3key(`col2`,`col3`,`col4`),
 
804
key 2key (`col3`,`col4`),
 
805
key col4(col4))
 
806
ENGINE="FEDERATED"
 
807
  CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
808
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
809
VALUES ('aaaa', 'aaaaaaaaaaaaaaaaaaa', 'ababababab', 'acacacacacacacac');
 
810
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
811
VALUES ('bbbb', 'bbbbbbbbbbbbbbbbbbb', 'bababababa', 'bcbcbcbcbcbcbcbc');
 
812
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
813
VALUES ('cccc', 'ccccccccccccccccccc', 'cacacacaca', 'cbcbcbcbcbcbcbcb');
 
814
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
815
VALUES ('dddd', 'ddddddddddddddddddd', 'dadadadada', 'dcdcdcdcdcdcdcdc');
 
816
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
817
VALUES ('eeee', 'eeeeeeeeeeeeeeeeeee', 'eaeaeaeaea', 'ecececececececec');
 
818
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
819
VALUES ('ffff', 'fffffffffffffffffff', 'fafafafafa', 'fcfcfcfcfcfcfcfc');
 
820
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
821
VALUES ('gggg', 'ggggggggggggggggggg', 'gagagagaga', 'gcgcgcgcgcgcgcgc');
 
822
INSERT INTO federated.t1 (col1, col2, col3, col4) 
 
823
VALUES ('hhhh', 'hhhhhhhhhhhhhhhhhhh', 'hahahahaha', 'hchchchchchchchc');
 
824
SELECT * FROM federated.t1 WHERE col1 = 'cccc';
 
825
col1    col2    col3    col4
 
826
cccc    ccccccccccccccccccc     cacacacaca      cbcbcbcbcbcbcbcb
 
827
SELECT * FROM federated.t1 WHERE col2 = 'eeeeeeeeeeeeeeeeeee';
 
828
col1    col2    col3    col4
 
829
eeee    eeeeeeeeeeeeeeeeeee     eaeaeaeaea      ecececececececec
 
830
SELECT * FROM federated.t1 WHERE col3 = 'bababababa';
 
831
col1    col2    col3    col4
 
832
bbbb    bbbbbbbbbbbbbbbbbbb     bababababa      bcbcbcbcbcbcbcbc
 
833
SELECT * FROM federated.t1 WHERE col1 =  'gggg' AND col2 = 'ggggggggggggggggggg';
 
834
col1    col2    col3    col4
 
835
gggg    ggggggggggggggggggg     gagagagaga      gcgcgcgcgcgcgcgc
 
836
SELECT * FROM federated.t1 WHERE col1 =  'gggg' AND col3 = 'gagagagaga';
 
837
col1    col2    col3    col4
 
838
gggg    ggggggggggggggggggg     gagagagaga      gcgcgcgcgcgcgcgc
 
839
SELECT * FROM federated.t1 WHERE col1 =  'ffff' AND col4 = 'fcfcfcfcfcfcfcfc';
 
840
col1    col2    col3    col4
 
841
ffff    fffffffffffffffffff     fafafafafa      fcfcfcfcfcfcfcfc
 
842
SELECT * FROM federated.t1 WHERE col1 >  'bbbb';
 
843
col1    col2    col3    col4
 
844
cccc    ccccccccccccccccccc     cacacacaca      cbcbcbcbcbcbcbcb
 
845
dddd    ddddddddddddddddddd     dadadadada      dcdcdcdcdcdcdcdc
 
846
eeee    eeeeeeeeeeeeeeeeeee     eaeaeaeaea      ecececececececec
 
847
ffff    fffffffffffffffffff     fafafafafa      fcfcfcfcfcfcfcfc
 
848
gggg    ggggggggggggggggggg     gagagagaga      gcgcgcgcgcgcgcgc
 
849
hhhh    hhhhhhhhhhhhhhhhhhh     hahahahaha      hchchchchchchchc
 
850
SELECT * FROM federated.t1 WHERE col1 >=  'bbbb';
 
851
col1    col2    col3    col4
 
852
bbbb    bbbbbbbbbbbbbbbbbbb     bababababa      bcbcbcbcbcbcbcbc
 
853
cccc    ccccccccccccccccccc     cacacacaca      cbcbcbcbcbcbcbcb
 
854
dddd    ddddddddddddddddddd     dadadadada      dcdcdcdcdcdcdcdc
 
855
eeee    eeeeeeeeeeeeeeeeeee     eaeaeaeaea      ecececececececec
 
856
ffff    fffffffffffffffffff     fafafafafa      fcfcfcfcfcfcfcfc
 
857
gggg    ggggggggggggggggggg     gagagagaga      gcgcgcgcgcgcgcgc
 
858
hhhh    hhhhhhhhhhhhhhhhhhh     hahahahaha      hchchchchchchchc
 
859
SELECT * FROM federated.t1 WHERE col1 <  'bbbb';
 
860
col1    col2    col3    col4
 
861
aaaa    aaaaaaaaaaaaaaaaaaa     ababababab      acacacacacacacac
 
862
SELECT * FROM federated.t1 WHERE col1 <=  'bbbb';
 
863
col1    col2    col3    col4
 
864
aaaa    aaaaaaaaaaaaaaaaaaa     ababababab      acacacacacacacac
 
865
bbbb    bbbbbbbbbbbbbbbbbbb     bababababa      bcbcbcbcbcbcbcbc
 
866
SELECT * FROM federated.t1 WHERE col1 <>  'bbbb';
 
867
col1    col2    col3    col4
 
868
aaaa    aaaaaaaaaaaaaaaaaaa     ababababab      acacacacacacacac
 
869
cccc    ccccccccccccccccccc     cacacacaca      cbcbcbcbcbcbcbcb
 
870
dddd    ddddddddddddddddddd     dadadadada      dcdcdcdcdcdcdcdc
 
871
eeee    eeeeeeeeeeeeeeeeeee     eaeaeaeaea      ecececececececec
 
872
ffff    fffffffffffffffffff     fafafafafa      fcfcfcfcfcfcfcfc
 
873
gggg    ggggggggggggggggggg     gagagagaga      gcgcgcgcgcgcgcgc
 
874
hhhh    hhhhhhhhhhhhhhhhhhh     hahahahaha      hchchchchchchchc
 
875
SELECT * FROM federated.t1 WHERE col1 LIKE  'b%';
 
876
col1    col2    col3    col4
 
877
bbbb    bbbbbbbbbbbbbbbbbbb     bababababa      bcbcbcbcbcbcbcbc
 
878
SELECT * FROM federated.t1 WHERE col4 LIKE  '%b%';
 
879
col1    col2    col3    col4
 
880
bbbb    bbbbbbbbbbbbbbbbbbb     bababababa      bcbcbcbcbcbcbcbc
 
881
cccc    ccccccccccccccccccc     cacacacaca      cbcbcbcbcbcbcbcb
 
882
SELECT * FROM federated.t1 WHERE col1 NOT LIKE  'c%';
 
883
col1    col2    col3    col4
 
884
aaaa    aaaaaaaaaaaaaaaaaaa     ababababab      acacacacacacacac
 
885
bbbb    bbbbbbbbbbbbbbbbbbb     bababababa      bcbcbcbcbcbcbcbc
 
886
dddd    ddddddddddddddddddd     dadadadada      dcdcdcdcdcdcdcdc
 
887
eeee    eeeeeeeeeeeeeeeeeee     eaeaeaeaea      ecececececececec
 
888
ffff    fffffffffffffffffff     fafafafafa      fcfcfcfcfcfcfcfc
 
889
gggg    ggggggggggggggggggg     gagagagaga      gcgcgcgcgcgcgcgc
 
890
hhhh    hhhhhhhhhhhhhhhhhhh     hahahahaha      hchchchchchchchc
 
891
SELECT * FROM federated.t1 WHERE col4 NOT LIKE  '%c%';
 
892
col1    col2    col3    col4
 
893
DROP TABLE IF EXISTS federated.t1;
 
894
CREATE TABLE federated.t1 (
 
895
`col1` varchar(8) NOT NULL DEFAULT '',
 
896
`col2` int(8) NOT NULL DEFAULT 0,
 
897
`col3` varchar(8) NOT NULL DEFAULT '',
 
898
primary key (`col1`, `col2`, `col3`));
 
899
DROP TABLE IF EXISTS federated.t1;
 
900
CREATE TABLE federated.t1 (
 
901
`col1` varchar(8) NOT NULL DEFAULT '',
 
902
`col2` varchar(8) NOT NULL DEFAULT '',
 
903
`col3` varchar(8) NOT NULL DEFAULT '',
 
904
primary key (`col1`, `col2`, `col3`))
 
905
ENGINE="FEDERATED"
 
906
  DEFAULT CHARSET=latin1
 
907
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
908
INSERT INTO federated.t1 VALUES ('a00', '110', 'cc0');
 
909
INSERT INTO federated.t1 VALUES ('aaa', '111', 'ccc');
 
910
INSERT INTO federated.t1 VALUES ('bbb', '222', 'yyy');
 
911
INSERT INTO federated.t1 VALUES ('ccc', '111', 'zzz');
 
912
INSERT INTO federated.t1 VALUES ('ccd', '112', 'zzzz');
 
913
SELECT col3 FROM federated.t1 WHERE  (
 
914
(col1 = 'aaa' AND col2 >= '111') OR col1 > 'aaa') AND 
 
915
(col1 < 'ccc' OR ( col1 = 'ccc' AND col2 <= '111'));
 
916
col3
 
917
ccc
 
918
yyy
 
919
zzz
 
920
SELECT col3 FROM federated.t1 WHERE  (
 
921
(col1 = 'aaa' AND col2 >= '111') OR col1 > 'aaa') AND 
 
922
(col1 < 'ccc' OR ( col1 = 'ccc' AND col2 <= '111'));
 
923
col3
 
924
ccc
 
925
yyy
 
926
zzz
 
927
DROP TABLE IF EXISTS federated.t1;
 
928
CREATE TABLE federated.t1 (
 
929
`id` int,
 
930
`name` varchar(32),
 
931
`floatval` float,
 
932
`other` int)
 
933
DEFAULT CHARSET=latin1;
 
934
DROP TABLE IF EXISTS federated.t1;
 
935
CREATE TABLE federated.t1 (
 
936
`id` int,
 
937
`name` varchar(32),
 
938
`floatval` float,
 
939
`other` int)
 
940
ENGINE="FEDERATED"
 
941
DEFAULT CHARSET=latin1
 
942
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
943
INSERT INTO federated.t1 values (NULL, NULL, NULL, NULL);
 
944
INSERT INTO federated.t1 values ();
 
945
INSERT INTO federated.t1 (id) VALUES (1);
 
946
INSERT INTO federated.t1 (name, floatval, other)
 
947
VALUES ('foo', 33.33333332, NULL);
 
948
INSERT INTO federated.t1 (name, floatval, other)
 
949
VALUES (0, 00.3333, NULL);
 
950
SELECT * FROM federated.t1;
 
951
id      name    floatval        other
 
952
NULL    NULL    NULL    NULL
 
953
NULL    NULL    NULL    NULL
 
954
1       NULL    NULL    NULL
 
955
NULL    foo     33.3333 NULL
 
956
NULL    0       0.3333  NULL
 
957
SELECT count(*) FROM federated.t1 
 
958
WHERE id IS NULL 
 
959
AND name IS NULL 
 
960
AND floatval IS NULL
 
961
AND other IS NULL;
 
962
count(*)
 
963
2
 
964
DROP TABLE IF EXISTS federated.t1;
 
965
CREATE TABLE federated.t1 (
 
966
`blurb_id` int NOT NULL DEFAULT 0,
 
967
`blurb` text default '',
 
968
PRIMARY KEY (blurb_id))
 
969
DEFAULT CHARSET=latin1;
 
970
Warnings:
 
971
Warning 1101    BLOB/TEXT column 'blurb' can't have a default value
 
972
DROP TABLE IF EXISTS federated.t1;
 
973
CREATE TABLE federated.t1 (
 
974
`blurb_id` int NOT NULL DEFAULT 0,
 
975
`blurb` text default '',
 
976
PRIMARY KEY (blurb_id))
 
977
ENGINE="FEDERATED"
 
978
  DEFAULT CHARSET=latin1
 
979
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
980
Warnings:
 
981
Warning 1101    BLOB/TEXT column 'blurb' can't have a default value
 
982
INSERT INTO federated.t1 VALUES (1, " MySQL supports a number of column types in several categories: numeric types, date and time types, and string (character) types.  This chapter first gives an overview of these column types, and then provides a more detailed description of the properties of the types in each category, and a summary of the column type storage requirements.  The overview is intentionally brief.  The more detailed descriptions should be consulted for additional information about particular column types, such as the allowable formats in which you can specify values.");
 
983
INSERT INTO federated.t1 VALUES (2, "All arithmetic is done using signed BIGINT or DOUBLE values, so you should not use unsigned big integers larger than 9223372036854775807 (63 bits) except with bit functions! If you do that, some of the last digits in the result may be wrong because of rounding errors when converting a BIGINT value to a DOUBLE.");
 
984
INSERT INTO federated.t1 VALUES (3, " A floating-point number.  p represents the precision. It can be from 0 to 24 for a single-precision floating-point number and from 25 to 53 for a double-precision floating-point number. These types are like the FLOAT and DOUBLE types described immediately following.  FLOAT(p) has the same range as the corresponding FLOAT and DOUBLE types, but the display size and number of decimals are undefined.  ");
 
985
INSERT INTO federated.t1 VALUES(4, "Die ļæ½bersetzung einer so umfangreichen technischen Dokumentation wie des MySQL-Referenzhandbuchs ist schon eine besondere Herausforderung.  Zumindest fļæ½r jemanden, der seine Zielsprache ernst nimmt:");
 
986
SELECT * FROM federated.t1;
 
987
blurb_id        blurb
 
988
1        MySQL supports a number of column types in several categories: numeric types, date and time types, and string (character) types.  This chapter first gives an overview of these column types, and then provides a more detailed description of the properties of the types in each category, and a summary of the column type storage requirements.  The overview is intentionally brief.  The more detailed descriptions should be consulted for additional information about particular column types, such as the allowable formats in which you can specify values.
 
989
2       All arithmetic is done using signed BIGINT or DOUBLE values, so you should not use unsigned big integers larger than 9223372036854775807 (63 bits) except with bit functions! If you do that, some of the last digits in the result may be wrong because of rounding errors when converting a BIGINT value to a DOUBLE.
 
990
3        A floating-point number.  p represents the precision. It can be from 0 to 24 for a single-precision floating-point number and from 25 to 53 for a double-precision floating-point number. These types are like the FLOAT and DOUBLE types described immediately following.  FLOAT(p) has the same range as the corresponding FLOAT and DOUBLE types, but the display size and number of decimals are undefined.  
 
991
4       Die ļæ½bersetzung einer so umfangreichen technischen Dokumentation wie des MySQL-Referenzhandbuchs ist schon eine besondere Herausforderung.  Zumindest fļæ½r jemanden, der seine Zielsprache ernst nimmt:
 
992
DROP TABLE IF EXISTS federated.t1;
 
993
CREATE TABLE federated.t1 (
 
994
`a` int NOT NULL,
 
995
`b` int NOT NULL,
 
996
`c` int NOT NULL,
 
997
PRIMARY KEY (a),key(b));
 
998
DROP TABLE IF EXISTS federated.t1;
 
999
CREATE TABLE federated.t1 (
 
1000
`a` int NOT NULL,
 
1001
`b` int NOT NULL,
 
1002
`c` int NOT NULL,
 
1003
PRIMARY KEY (a),
 
1004
KEY (b))
 
1005
ENGINE="FEDERATED"
 
1006
  DEFAULT CHARSET=latin1
 
1007
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1008
INSERT INTO federated.t1 VALUES (3,3,3),(1,1,1),(2,2,2),(4,4,4);
 
1009
DROP TABLE IF EXISTS federated.t1;
 
1010
CREATE TABLE federated.t1 (i1 int, i2 int, i3 int, i4 int, i5 int, i6 int, i7 int, i8
 
1011
int, i9 int, i10 int, i11 int, i12 int, i13 int, i14 int, i15 int, i16 int, i17
 
1012
int, i18 int, i19 int, i20 int, i21 int, i22 int, i23 int, i24 int, i25 int,
 
1013
i26 int, i27 int, i28 int, i29 int, i30 int, i31 int, i32 int, i33 int, i34
 
1014
int, i35 int, i36 int, i37 int, i38 int, i39 int, i40 int, i41 int, i42 int,
 
1015
i43 int, i44 int, i45 int, i46 int, i47 int, i48 int, i49 int, i50 int, i51
 
1016
int, i52 int, i53 int, i54 int, i55 int, i56 int, i57 int, i58 int, i59 int,
 
1017
i60 int, i61 int, i62 int, i63 int, i64 int, i65 int, i66 int, i67 int, i68
 
1018
int, i69 int, i70 int, i71 int, i72 int, i73 int, i74 int, i75 int, i76 int,
 
1019
i77 int, i78 int, i79 int, i80 int, i81 int, i82 int, i83 int, i84 int, i85
 
1020
int, i86 int, i87 int, i88 int, i89 int, i90 int, i91 int, i92 int, i93 int,
 
1021
i94 int, i95 int, i96 int, i97 int, i98 int, i99 int, i100 int, i101 int, i102
 
1022
int, i103 int, i104 int, i105 int, i106 int, i107 int, i108 int, i109 int, i110
 
1023
int, i111 int, i112 int, i113 int, i114 int, i115 int, i116 int, i117 int, i118
 
1024
int, i119 int, i120 int, i121 int, i122 int, i123 int, i124 int, i125 int, i126
 
1025
int, i127 int, i128 int, i129 int, i130 int, i131 int, i132 int, i133 int, i134
 
1026
int, i135 int, i136 int, i137 int, i138 int, i139 int, i140 int, i141 int, i142
 
1027
int, i143 int, i144 int, i145 int, i146 int, i147 int, i148 int, i149 int, i150
 
1028
int, i151 int, i152 int, i153 int, i154 int, i155 int, i156 int, i157 int, i158
 
1029
int, i159 int, i160 int, i161 int, i162 int, i163 int, i164 int, i165 int, i166
 
1030
int, i167 int, i168 int, i169 int, i170 int, i171 int, i172 int, i173 int, i174
 
1031
int, i175 int, i176 int, i177 int, i178 int, i179 int, i180 int, i181 int, i182
 
1032
int, i183 int, i184 int, i185 int, i186 int, i187 int, i188 int, i189 int, i190
 
1033
int, i191 int, i192 int, i193 int, i194 int, i195 int, i196 int, i197 int, i198
 
1034
int, i199 int, i200 int, i201 int, i202 int, i203 int, i204 int, i205 int, i206
 
1035
int, i207 int, i208 int, i209 int, i210 int, i211 int, i212 int, i213 int, i214
 
1036
int, i215 int, i216 int, i217 int, i218 int, i219 int, i220 int, i221 int, i222
 
1037
int, i223 int, i224 int, i225 int, i226 int, i227 int, i228 int, i229 int, i230
 
1038
int, i231 int, i232 int, i233 int, i234 int, i235 int, i236 int, i237 int, i238
 
1039
int, i239 int, i240 int, i241 int, i242 int, i243 int, i244 int, i245 int, i246
 
1040
int, i247 int, i248 int, i249 int, i250 int, i251 int, i252 int, i253 int, i254
 
1041
int, i255 int, i256 int, i257 int, i258 int, i259 int, i260 int, i261 int, i262
 
1042
int, i263 int, i264 int, i265 int, i266 int, i267 int, i268 int, i269 int, i270
 
1043
int, i271 int, i272 int, i273 int, i274 int, i275 int, i276 int, i277 int, i278
 
1044
int, i279 int, i280 int, i281 int, i282 int, i283 int, i284 int, i285 int, i286
 
1045
int, i287 int, i288 int, i289 int, i290 int, i291 int, i292 int, i293 int, i294
 
1046
int, i295 int, i296 int, i297 int, i298 int, i299 int, i300 int, i301 int, i302
 
1047
int, i303 int, i304 int, i305 int, i306 int, i307 int, i308 int, i309 int, i310
 
1048
int, i311 int, i312 int, i313 int, i314 int, i315 int, i316 int, i317 int, i318
 
1049
int, i319 int, i320 int, i321 int, i322 int, i323 int, i324 int, i325 int, i326
 
1050
int, i327 int, i328 int, i329 int, i330 int, i331 int, i332 int, i333 int, i334
 
1051
int, i335 int, i336 int, i337 int, i338 int, i339 int, i340 int, i341 int, i342
 
1052
int, i343 int, i344 int, i345 int, i346 int, i347 int, i348 int, i349 int, i350
 
1053
int, i351 int, i352 int, i353 int, i354 int, i355 int, i356 int, i357 int, i358
 
1054
int, i359 int, i360 int, i361 int, i362 int, i363 int, i364 int, i365 int, i366
 
1055
int, i367 int, i368 int, i369 int, i370 int, i371 int, i372 int, i373 int, i374
 
1056
int, i375 int, i376 int, i377 int, i378 int, i379 int, i380 int, i381 int, i382
 
1057
int, i383 int, i384 int, i385 int, i386 int, i387 int, i388 int, i389 int, i390
 
1058
int, i391 int, i392 int, i393 int, i394 int, i395 int, i396 int, i397 int, i398
 
1059
int, i399 int, i400 int, i401 int, i402 int, i403 int, i404 int, i405 int, i406
 
1060
int, i407 int, i408 int, i409 int, i410 int, i411 int, i412 int, i413 int, i414
 
1061
int, i415 int, i416 int, i417 int, i418 int, i419 int, i420 int, i421 int, i422
 
1062
int, i423 int, i424 int, i425 int, i426 int, i427 int, i428 int, i429 int, i430
 
1063
int, i431 int, i432 int, i433 int, i434 int, i435 int, i436 int, i437 int, i438
 
1064
int, i439 int, i440 int, i441 int, i442 int, i443 int, i444 int, i445 int, i446
 
1065
int, i447 int, i448 int, i449 int, i450 int, i451 int, i452 int, i453 int, i454
 
1066
int, i455 int, i456 int, i457 int, i458 int, i459 int, i460 int, i461 int, i462
 
1067
int, i463 int, i464 int, i465 int, i466 int, i467 int, i468 int, i469 int, i470
 
1068
int, i471 int, i472 int, i473 int, i474 int, i475 int, i476 int, i477 int, i478
 
1069
int, i479 int, i480 int, i481 int, i482 int, i483 int, i484 int, i485 int, i486
 
1070
int, i487 int, i488 int, i489 int, i490 int, i491 int, i492 int, i493 int, i494
 
1071
int, i495 int, i496 int, i497 int, i498 int, i499 int, i500 int, i501 int, i502
 
1072
int, i503 int, i504 int, i505 int, i506 int, i507 int, i508 int, i509 int, i510
 
1073
int, i511 int, i512 int, i513 int, i514 int, i515 int, i516 int, i517 int, i518
 
1074
int, i519 int, i520 int, i521 int, i522 int, i523 int, i524 int, i525 int, i526
 
1075
int, i527 int, i528 int, i529 int, i530 int, i531 int, i532 int, i533 int, i534
 
1076
int, i535 int, i536 int, i537 int, i538 int, i539 int, i540 int, i541 int, i542
 
1077
int, i543 int, i544 int, i545 int, i546 int, i547 int, i548 int, i549 int, i550
 
1078
int, i551 int, i552 int, i553 int, i554 int, i555 int, i556 int, i557 int, i558
 
1079
int, i559 int, i560 int, i561 int, i562 int, i563 int, i564 int, i565 int, i566
 
1080
int, i567 int, i568 int, i569 int, i570 int, i571 int, i572 int, i573 int, i574
 
1081
int, i575 int, i576 int, i577 int, i578 int, i579 int, i580 int, i581 int, i582
 
1082
int, i583 int, i584 int, i585 int, i586 int, i587 int, i588 int, i589 int, i590
 
1083
int, i591 int, i592 int, i593 int, i594 int, i595 int, i596 int, i597 int, i598
 
1084
int, i599 int, i600 int, i601 int, i602 int, i603 int, i604 int, i605 int, i606
 
1085
int, i607 int, i608 int, i609 int, i610 int, i611 int, i612 int, i613 int, i614
 
1086
int, i615 int, i616 int, i617 int, i618 int, i619 int, i620 int, i621 int, i622
 
1087
int, i623 int, i624 int, i625 int, i626 int, i627 int, i628 int, i629 int, i630
 
1088
int, i631 int, i632 int, i633 int, i634 int, i635 int, i636 int, i637 int, i638
 
1089
int, i639 int, i640 int, i641 int, i642 int, i643 int, i644 int, i645 int, i646
 
1090
int, i647 int, i648 int, i649 int, i650 int, i651 int, i652 int, i653 int, i654
 
1091
int, i655 int, i656 int, i657 int, i658 int, i659 int, i660 int, i661 int, i662
 
1092
int, i663 int, i664 int, i665 int, i666 int, i667 int, i668 int, i669 int, i670
 
1093
int, i671 int, i672 int, i673 int, i674 int, i675 int, i676 int, i677 int, i678
 
1094
int, i679 int, i680 int, i681 int, i682 int, i683 int, i684 int, i685 int, i686
 
1095
int, i687 int, i688 int, i689 int, i690 int, i691 int, i692 int, i693 int, i694
 
1096
int, i695 int, i696 int, i697 int, i698 int, i699 int, i700 int, i701 int, i702
 
1097
int, i703 int, i704 int, i705 int, i706 int, i707 int, i708 int, i709 int, i710
 
1098
int, i711 int, i712 int, i713 int, i714 int, i715 int, i716 int, i717 int, i718
 
1099
int, i719 int, i720 int, i721 int, i722 int, i723 int, i724 int, i725 int, i726
 
1100
int, i727 int, i728 int, i729 int, i730 int, i731 int, i732 int, i733 int, i734
 
1101
int, i735 int, i736 int, i737 int, i738 int, i739 int, i740 int, i741 int, i742
 
1102
int, i743 int, i744 int, i745 int, i746 int, i747 int, i748 int, i749 int, i750
 
1103
int, i751 int, i752 int, i753 int, i754 int, i755 int, i756 int, i757 int, i758
 
1104
int, i759 int, i760 int, i761 int, i762 int, i763 int, i764 int, i765 int, i766
 
1105
int, i767 int, i768 int, i769 int, i770 int, i771 int, i772 int, i773 int, i774
 
1106
int, i775 int, i776 int, i777 int, i778 int, i779 int, i780 int, i781 int, i782
 
1107
int, i783 int, i784 int, i785 int, i786 int, i787 int, i788 int, i789 int, i790
 
1108
int, i791 int, i792 int, i793 int, i794 int, i795 int, i796 int, i797 int, i798
 
1109
int, i799 int, i800 int, i801 int, i802 int, i803 int, i804 int, i805 int, i806
 
1110
int, i807 int, i808 int, i809 int, i810 int, i811 int, i812 int, i813 int, i814
 
1111
int, i815 int, i816 int, i817 int, i818 int, i819 int, i820 int, i821 int, i822
 
1112
int, i823 int, i824 int, i825 int, i826 int, i827 int, i828 int, i829 int, i830
 
1113
int, i831 int, i832 int, i833 int, i834 int, i835 int, i836 int, i837 int, i838
 
1114
int, i839 int, i840 int, i841 int, i842 int, i843 int, i844 int, i845 int, i846
 
1115
int, i847 int, i848 int, i849 int, i850 int, i851 int, i852 int, i853 int, i854
 
1116
int, i855 int, i856 int, i857 int, i858 int, i859 int, i860 int, i861 int, i862
 
1117
int, i863 int, i864 int, i865 int, i866 int, i867 int, i868 int, i869 int, i870
 
1118
int, i871 int, i872 int, i873 int, i874 int, i875 int, i876 int, i877 int, i878
 
1119
int, i879 int, i880 int, i881 int, i882 int, i883 int, i884 int, i885 int, i886
 
1120
int, i887 int, i888 int, i889 int, i890 int, i891 int, i892 int, i893 int, i894
 
1121
int, i895 int, i896 int, i897 int, i898 int, i899 int, i900 int, i901 int, i902
 
1122
int, i903 int, i904 int, i905 int, i906 int, i907 int, i908 int, i909 int, i910
 
1123
int, i911 int, i912 int, i913 int, i914 int, i915 int, i916 int, i917 int, i918
 
1124
int, i919 int, i920 int, i921 int, i922 int, i923 int, i924 int, i925 int, i926
 
1125
int, i927 int, i928 int, i929 int, i930 int, i931 int, i932 int, i933 int, i934
 
1126
int, i935 int, i936 int, i937 int, i938 int, i939 int, i940 int, i941 int, i942
 
1127
int, i943 int, i944 int, i945 int, i946 int, i947 int, i948 int, i949 int, i950
 
1128
int, i951 int, i952 int, i953 int, i954 int, i955 int, i956 int, i957 int, i958
 
1129
int, i959 int, i960 int, i961 int, i962 int, i963 int, i964 int, i965 int, i966
 
1130
int, i967 int, i968 int, i969 int, i970 int, i971 int, i972 int, i973 int, i974
 
1131
int, i975 int, i976 int, i977 int, i978 int, i979 int, i980 int, i981 int, i982
 
1132
int, i983 int, i984 int, i985 int, i986 int, i987 int, i988 int, i989 int, i990
 
1133
int, i991 int, i992 int, i993 int, i994 int, i995 int, i996 int, i997 int, i998
 
1134
int, i999 int, i1000 int, b varchar(256)) row_format=dynamic;
 
1135
DROP TABLE IF EXISTS federated.t1;
 
1136
CREATE TABLE federated.t1 
 
1137
(i1 int, i2 int, i3 int, i4 int, i5 int, i6 int, i7 int, i8
 
1138
int, i9 int, i10 int, i11 int, i12 int, i13 int, i14 int, i15 int, i16 int, 
 
1139
i17 int, i18 int, i19 int, i20 int, i21 int, i22 int, i23 int, i24 int, i25 int,
 
1140
i26 int, i27 int, i28 int, i29 int, i30 int, i31 int, i32 int, i33 int, i34
 
1141
int, i35 int, i36 int, i37 int, i38 int, i39 int, i40 int, i41 int, i42 int,
 
1142
i43 int, i44 int, i45 int, i46 int, i47 int, i48 int, i49 int, i50 int, i51
 
1143
int, i52 int, i53 int, i54 int, i55 int, i56 int, i57 int, i58 int, i59 int,
 
1144
i60 int, i61 int, i62 int, i63 int, i64 int, i65 int, i66 int, i67 int, i68
 
1145
int, i69 int, i70 int, i71 int, i72 int, i73 int, i74 int, i75 int, i76 int,
 
1146
i77 int, i78 int, i79 int, i80 int, i81 int, i82 int, i83 int, i84 int, i85
 
1147
int, i86 int, i87 int, i88 int, i89 int, i90 int, i91 int, i92 int, i93 int,
 
1148
i94 int, i95 int, i96 int, i97 int, i98 int, i99 int, i100 int, i101 int, i102
 
1149
int, i103 int, i104 int, i105 int, i106 int, i107 int, i108 int, i109 int, i110
 
1150
int, i111 int, i112 int, i113 int, i114 int, i115 int, i116 int, i117 int, i118
 
1151
int, i119 int, i120 int, i121 int, i122 int, i123 int, i124 int, i125 int, i126
 
1152
int, i127 int, i128 int, i129 int, i130 int, i131 int, i132 int, i133 int, i134
 
1153
int, i135 int, i136 int, i137 int, i138 int, i139 int, i140 int, i141 int, i142
 
1154
int, i143 int, i144 int, i145 int, i146 int, i147 int, i148 int, i149 int, i150
 
1155
int, i151 int, i152 int, i153 int, i154 int, i155 int, i156 int, i157 int, i158
 
1156
int, i159 int, i160 int, i161 int, i162 int, i163 int, i164 int, i165 int, i166
 
1157
int, i167 int, i168 int, i169 int, i170 int, i171 int, i172 int, i173 int, i174
 
1158
int, i175 int, i176 int, i177 int, i178 int, i179 int, i180 int, i181 int, i182
 
1159
int, i183 int, i184 int, i185 int, i186 int, i187 int, i188 int, i189 int, i190
 
1160
int, i191 int, i192 int, i193 int, i194 int, i195 int, i196 int, i197 int, i198
 
1161
int, i199 int, i200 int, i201 int, i202 int, i203 int, i204 int, i205 int, i206
 
1162
int, i207 int, i208 int, i209 int, i210 int, i211 int, i212 int, i213 int, i214
 
1163
int, i215 int, i216 int, i217 int, i218 int, i219 int, i220 int, i221 int, i222
 
1164
int, i223 int, i224 int, i225 int, i226 int, i227 int, i228 int, i229 int, i230
 
1165
int, i231 int, i232 int, i233 int, i234 int, i235 int, i236 int, i237 int, i238
 
1166
int, i239 int, i240 int, i241 int, i242 int, i243 int, i244 int, i245 int, i246
 
1167
int, i247 int, i248 int, i249 int, i250 int, i251 int, i252 int, i253 int, i254
 
1168
int, i255 int, i256 int, i257 int, i258 int, i259 int, i260 int, i261 int, i262
 
1169
int, i263 int, i264 int, i265 int, i266 int, i267 int, i268 int, i269 int, i270
 
1170
int, i271 int, i272 int, i273 int, i274 int, i275 int, i276 int, i277 int, i278
 
1171
int, i279 int, i280 int, i281 int, i282 int, i283 int, i284 int, i285 int, i286
 
1172
int, i287 int, i288 int, i289 int, i290 int, i291 int, i292 int, i293 int, i294
 
1173
int, i295 int, i296 int, i297 int, i298 int, i299 int, i300 int, i301 int, i302
 
1174
int, i303 int, i304 int, i305 int, i306 int, i307 int, i308 int, i309 int, i310
 
1175
int, i311 int, i312 int, i313 int, i314 int, i315 int, i316 int, i317 int, i318
 
1176
int, i319 int, i320 int, i321 int, i322 int, i323 int, i324 int, i325 int, i326
 
1177
int, i327 int, i328 int, i329 int, i330 int, i331 int, i332 int, i333 int, i334
 
1178
int, i335 int, i336 int, i337 int, i338 int, i339 int, i340 int, i341 int, i342
 
1179
int, i343 int, i344 int, i345 int, i346 int, i347 int, i348 int, i349 int, i350
 
1180
int, i351 int, i352 int, i353 int, i354 int, i355 int, i356 int, i357 int, i358
 
1181
int, i359 int, i360 int, i361 int, i362 int, i363 int, i364 int, i365 int, i366
 
1182
int, i367 int, i368 int, i369 int, i370 int, i371 int, i372 int, i373 int, i374
 
1183
int, i375 int, i376 int, i377 int, i378 int, i379 int, i380 int, i381 int, i382
 
1184
int, i383 int, i384 int, i385 int, i386 int, i387 int, i388 int, i389 int, i390
 
1185
int, i391 int, i392 int, i393 int, i394 int, i395 int, i396 int, i397 int, i398
 
1186
int, i399 int, i400 int, i401 int, i402 int, i403 int, i404 int, i405 int, i406
 
1187
int, i407 int, i408 int, i409 int, i410 int, i411 int, i412 int, i413 int, i414
 
1188
int, i415 int, i416 int, i417 int, i418 int, i419 int, i420 int, i421 int, i422
 
1189
int, i423 int, i424 int, i425 int, i426 int, i427 int, i428 int, i429 int, i430
 
1190
int, i431 int, i432 int, i433 int, i434 int, i435 int, i436 int, i437 int, i438
 
1191
int, i439 int, i440 int, i441 int, i442 int, i443 int, i444 int, i445 int, i446
 
1192
int, i447 int, i448 int, i449 int, i450 int, i451 int, i452 int, i453 int, i454
 
1193
int, i455 int, i456 int, i457 int, i458 int, i459 int, i460 int, i461 int, i462
 
1194
int, i463 int, i464 int, i465 int, i466 int, i467 int, i468 int, i469 int, i470
 
1195
int, i471 int, i472 int, i473 int, i474 int, i475 int, i476 int, i477 int, i478
 
1196
int, i479 int, i480 int, i481 int, i482 int, i483 int, i484 int, i485 int, i486
 
1197
int, i487 int, i488 int, i489 int, i490 int, i491 int, i492 int, i493 int, i494
 
1198
int, i495 int, i496 int, i497 int, i498 int, i499 int, i500 int, i501 int, i502
 
1199
int, i503 int, i504 int, i505 int, i506 int, i507 int, i508 int, i509 int, i510
 
1200
int, i511 int, i512 int, i513 int, i514 int, i515 int, i516 int, i517 int, i518
 
1201
int, i519 int, i520 int, i521 int, i522 int, i523 int, i524 int, i525 int, i526
 
1202
int, i527 int, i528 int, i529 int, i530 int, i531 int, i532 int, i533 int, i534
 
1203
int, i535 int, i536 int, i537 int, i538 int, i539 int, i540 int, i541 int, i542
 
1204
int, i543 int, i544 int, i545 int, i546 int, i547 int, i548 int, i549 int, i550
 
1205
int, i551 int, i552 int, i553 int, i554 int, i555 int, i556 int, i557 int, i558
 
1206
int, i559 int, i560 int, i561 int, i562 int, i563 int, i564 int, i565 int, i566
 
1207
int, i567 int, i568 int, i569 int, i570 int, i571 int, i572 int, i573 int, i574
 
1208
int, i575 int, i576 int, i577 int, i578 int, i579 int, i580 int, i581 int, i582
 
1209
int, i583 int, i584 int, i585 int, i586 int, i587 int, i588 int, i589 int, i590
 
1210
int, i591 int, i592 int, i593 int, i594 int, i595 int, i596 int, i597 int, i598
 
1211
int, i599 int, i600 int, i601 int, i602 int, i603 int, i604 int, i605 int, i606
 
1212
int, i607 int, i608 int, i609 int, i610 int, i611 int, i612 int, i613 int, i614
 
1213
int, i615 int, i616 int, i617 int, i618 int, i619 int, i620 int, i621 int, i622
 
1214
int, i623 int, i624 int, i625 int, i626 int, i627 int, i628 int, i629 int, i630
 
1215
int, i631 int, i632 int, i633 int, i634 int, i635 int, i636 int, i637 int, i638
 
1216
int, i639 int, i640 int, i641 int, i642 int, i643 int, i644 int, i645 int, i646
 
1217
int, i647 int, i648 int, i649 int, i650 int, i651 int, i652 int, i653 int, i654
 
1218
int, i655 int, i656 int, i657 int, i658 int, i659 int, i660 int, i661 int, i662
 
1219
int, i663 int, i664 int, i665 int, i666 int, i667 int, i668 int, i669 int, i670
 
1220
int, i671 int, i672 int, i673 int, i674 int, i675 int, i676 int, i677 int, i678
 
1221
int, i679 int, i680 int, i681 int, i682 int, i683 int, i684 int, i685 int, i686
 
1222
int, i687 int, i688 int, i689 int, i690 int, i691 int, i692 int, i693 int, i694
 
1223
int, i695 int, i696 int, i697 int, i698 int, i699 int, i700 int, i701 int, i702
 
1224
int, i703 int, i704 int, i705 int, i706 int, i707 int, i708 int, i709 int, i710
 
1225
int, i711 int, i712 int, i713 int, i714 int, i715 int, i716 int, i717 int, i718
 
1226
int, i719 int, i720 int, i721 int, i722 int, i723 int, i724 int, i725 int, i726
 
1227
int, i727 int, i728 int, i729 int, i730 int, i731 int, i732 int, i733 int, i734
 
1228
int, i735 int, i736 int, i737 int, i738 int, i739 int, i740 int, i741 int, i742
 
1229
int, i743 int, i744 int, i745 int, i746 int, i747 int, i748 int, i749 int, i750
 
1230
int, i751 int, i752 int, i753 int, i754 int, i755 int, i756 int, i757 int, i758
 
1231
int, i759 int, i760 int, i761 int, i762 int, i763 int, i764 int, i765 int, i766
 
1232
int, i767 int, i768 int, i769 int, i770 int, i771 int, i772 int, i773 int, i774
 
1233
int, i775 int, i776 int, i777 int, i778 int, i779 int, i780 int, i781 int, i782
 
1234
int, i783 int, i784 int, i785 int, i786 int, i787 int, i788 int, i789 int, i790
 
1235
int, i791 int, i792 int, i793 int, i794 int, i795 int, i796 int, i797 int, i798
 
1236
int, i799 int, i800 int, i801 int, i802 int, i803 int, i804 int, i805 int, i806
 
1237
int, i807 int, i808 int, i809 int, i810 int, i811 int, i812 int, i813 int, i814
 
1238
int, i815 int, i816 int, i817 int, i818 int, i819 int, i820 int, i821 int, i822
 
1239
int, i823 int, i824 int, i825 int, i826 int, i827 int, i828 int, i829 int, i830
 
1240
int, i831 int, i832 int, i833 int, i834 int, i835 int, i836 int, i837 int, i838
 
1241
int, i839 int, i840 int, i841 int, i842 int, i843 int, i844 int, i845 int, i846
 
1242
int, i847 int, i848 int, i849 int, i850 int, i851 int, i852 int, i853 int, i854
 
1243
int, i855 int, i856 int, i857 int, i858 int, i859 int, i860 int, i861 int, i862
 
1244
int, i863 int, i864 int, i865 int, i866 int, i867 int, i868 int, i869 int, i870
 
1245
int, i871 int, i872 int, i873 int, i874 int, i875 int, i876 int, i877 int, i878
 
1246
int, i879 int, i880 int, i881 int, i882 int, i883 int, i884 int, i885 int, i886
 
1247
int, i887 int, i888 int, i889 int, i890 int, i891 int, i892 int, i893 int, i894
 
1248
int, i895 int, i896 int, i897 int, i898 int, i899 int, i900 int, i901 int, i902
 
1249
int, i903 int, i904 int, i905 int, i906 int, i907 int, i908 int, i909 int, i910
 
1250
int, i911 int, i912 int, i913 int, i914 int, i915 int, i916 int, i917 int, i918
 
1251
int, i919 int, i920 int, i921 int, i922 int, i923 int, i924 int, i925 int, i926
 
1252
int, i927 int, i928 int, i929 int, i930 int, i931 int, i932 int, i933 int, i934
 
1253
int, i935 int, i936 int, i937 int, i938 int, i939 int, i940 int, i941 int, i942
 
1254
int, i943 int, i944 int, i945 int, i946 int, i947 int, i948 int, i949 int, i950
 
1255
int, i951 int, i952 int, i953 int, i954 int, i955 int, i956 int, i957 int, i958
 
1256
int, i959 int, i960 int, i961 int, i962 int, i963 int, i964 int, i965 int, i966
 
1257
int, i967 int, i968 int, i969 int, i970 int, i971 int, i972 int, i973 int, i974
 
1258
int, i975 int, i976 int, i977 int, i978 int, i979 int, i980 int, i981 int, i982
 
1259
int, i983 int, i984 int, i985 int, i986 int, i987 int, i988 int, i989 int, i990
 
1260
int, i991 int, i992 int, i993 int, i994 int, i995 int, i996 int, i997 int, i998
 
1261
int, i999 int, i1000 int, b varchar(256))
 
1262
row_format=dynamic
 
1263
ENGINE="FEDERATED"
 
1264
DEFAULT CHARSET=latin1
 
1265
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1266
INSERT INTO federated.t1
 
1267
values (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1268
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1269
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1270
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1271
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1272
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1273
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1274
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1275
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1276
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1277
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1278
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1279
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1280
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1281
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1282
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1283
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1284
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1285
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1286
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1287
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1288
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1289
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1290
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1291
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1292
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1293
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1294
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1295
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1296
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1297
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1298
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1299
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1300
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1301
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1302
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1303
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1304
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
1305
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, "PatrickG");
 
1306
UPDATE federated.t1 SET b=repeat('a',256);
 
1307
UPDATE federated.t1 SET i1=0, i2=0, i3=0, i4=0, i5=0, i6=0, i7=0, i8=0, i9=0, i10=0;
 
1308
SELECT * FROM federated.t1 WHERE i9=0 and i10=0;
 
1309
i1      i2      i3      i4      i5      i6      i7      i8      i9      i10     i11     i12     i13     i14     i15     i16     i17     i18     i19     i20     i21     i22     i23     i24     i25     i26     i27     i28     i29     i30     i31     i32     i33     i34     i35     i36     i37     i38     i39     i40     i41     i42     i43     i44     i45     i46     i47     i48     i49     i50     i51     i52     i53     i54     i55     i56     i57     i58     i59     i60     i61     i62     i63     i64     i65     i66     i67     i68     i69     i70     i71     i72     i73     i74     i75     i76     i77     i78     i79     i80     i81     i82     i83     i84     i85     i86     i87     i88     i89     i90     i91     i92     i93     i94     i95     i96     i97     i98     i99     i100    i101    i102    i103    i104    i105    i106    i107    i108    i109    i110    i111    i112    i113    i114    i115    i116    i117    i118    i119    i120    i121    i122    i123    i124    i125    i126    i127    i128    i129    i130    i131    i132    i133    i134    i135    i136    i137    i138    i139    i140    i141    i142    i143    i144    i145    i146    i147    i148    i149    i150    i151    i152    i153    i154    i155    i156    i157    i158    i159    i160    i161    i162    i163    i164    i165    i166    i167    i168    i169    i170    i171    i172    i173    i174    i175    i176    i177    i178    i179    i180    i181    i182    i183    i184    i185    i186    i187    i188    i189    i190    i191    i192    i193    i194    i195    i196    i197    i198    i199    i200    i201    i202    i203    i204    i205    i206    i207    i208    i209    i210    i211    i212    i213    i214    i215    i216    i217    i218    i219    i220    i221    i222    i223    i224    i225    i226    i227    i228    i229    i230    i231    i232    i233    i234    i235    i236    i237    i238    i239    i240    i241    i242    i243    i244    i245    i246    i247    i248    i249    i250    i251    i252    i253    i254    i255    i256    i257    i258    i259    i260    i261    i262    i263    i264    i265    i266    i267    i268    i269    i270    i271    i272    i273    i274    i275    i276    i277    i278    i279    i280    i281    i282    i283    i284    i285    i286    i287    i288    i289    i290    i291    i292    i293    i294    i295    i296    i297    i298    i299    i300    i301    i302    i303    i304    i305    i306    i307    i308    i309    i310    i311    i312    i313    i314    i315    i316    i317    i318    i319    i320    i321    i322    i323    i324    i325    i326    i327    i328    i329    i330    i331    i332    i333    i334    i335    i336    i337    i338    i339    i340    i341    i342    i343    i344    i345    i346    i347    i348    i349    i350    i351    i352    i353    i354    i355    i356    i357    i358    i359    i360    i361    i362    i363    i364    i365    i366    i367    i368    i369    i370    i371    i372    i373    i374    i375    i376    i377    i378    i379    i380    i381    i382    i383    i384    i385    i386    i387    i388    i389    i390    i391    i392    i393    i394    i395    i396    i397    i398    i399    i400    i401    i402    i403    i404    i405    i406    i407    i408    i409    i410    i411    i412    i413    i414    i415    i416    i417    i418    i419    i420    i421    i422    i423    i424    i425    i426    i427    i428    i429    i430    i431    i432    i433    i434    i435    i436    i437    i438    i439    i440    i441    i442    i443    i444    i445    i446    i447    i448    i449    i450    i451    i452    i453    i454    i455    i456    i457    i458    i459    i460    i461    i462    i463    i464    i465    i466    i467    i468    i469    i470    i471    i472    i473    i474    i475    i476    i477    i478    i479    i480    i481    i482    i483    i484    i485    i486    i487    i488    i489    i490    i491    i492    i493    i494    i495    i496    i497    i498    i499    i500    i501    i502    i503    i504    i505    i506    i507    i508    i509    i510    i511    i512    i513    i514    i515    i516    i517    i518    i519    i520    i521    i522    i523    i524    i525    i526    i527    i528    i529    i530    i531    i532    i533    i534    i535    i536    i537    i538    i539    i540    i541    i542    i543    i544    i545    i546    i547    i548    i549    i550    i551    i552    i553    i554    i555    i556    i557    i558    i559    i560    i561    i562    i563    i564    i565    i566    i567    i568    i569    i570    i571    i572    i573    i574    i575    i576    i577    i578    i579    i580    i581    i582    i583    i584    i585    i586    i587    i588    i589    i590    i591    i592    i593    i594    i595    i596    i597    i598    i599    i600    i601    i602    i603    i604    i605    i606    i607    i608    i609    i610    i611    i612    i613    i614    i615    i616    i617    i618    i619    i620    i621    i622    i623    i624    i625    i626    i627    i628    i629    i630    i631    i632    i633    i634    i635    i636    i637    i638    i639    i640    i641    i642    i643    i644    i645    i646    i647    i648    i649    i650    i651    i652    i653    i654    i655    i656    i657    i658    i659    i660    i661    i662    i663    i664    i665    i666    i667    i668    i669    i670    i671    i672    i673    i674    i675    i676    i677    i678    i679    i680    i681    i682    i683    i684    i685    i686    i687    i688    i689    i690    i691    i692    i693    i694    i695    i696    i697    i698    i699    i700    i701    i702    i703    i704    i705    i706    i707    i708    i709    i710    i711    i712    i713    i714    i715    i716    i717    i718    i719    i720    i721    i722    i723    i724    i725    i726    i727    i728    i729    i730    i731    i732    i733    i734    i735    i736    i737    i738    i739    i740    i741    i742    i743    i744    i745    i746    i747    i748    i749    i750    i751    i752    i753    i754    i755    i756    i757    i758    i759    i760    i761    i762    i763    i764    i765    i766    i767    i768    i769    i770    i771    i772    i773    i774    i775    i776    i777    i778    i779    i780    i781    i782    i783    i784    i785    i786    i787    i788    i789    i790    i791    i792    i793    i794    i795    i796    i797    i798    i799    i800    i801    i802    i803    i804    i805    i806    i807    i808    i809    i810    i811    i812    i813    i814    i815    i816    i817    i818    i819    i820    i821    i822    i823    i824    i825    i826    i827    i828    i829    i830    i831    i832    i833    i834    i835    i836    i837    i838    i839    i840    i841    i842    i843    i844    i845    i846    i847    i848    i849    i850    i851    i852    i853    i854    i855    i856    i857    i858    i859    i860    i861    i862    i863    i864    i865    i866    i867    i868    i869    i870    i871    i872    i873    i874    i875    i876    i877    i878    i879    i880    i881    i882    i883    i884    i885    i886    i887    i888    i889    i890    i891    i892    i893    i894    i895    i896    i897    i898    i899    i900    i901    i902    i903    i904    i905    i906    i907    i908    i909    i910    i911    i912    i913    i914    i915    i916    i917    i918    i919    i920    i921    i922    i923    i924    i925    i926    i927    i928    i929    i930    i931    i932    i933    i934    i935    i936    i937    i938    i939    i940    i941    i942    i943    i944    i945    i946    i947    i948    i949    i950    i951    i952    i953    i954    i955    i956    i957    i958    i959    i960    i961    i962    i963    i964    i965    i966    i967    i968    i969    i970    i971    i972    i973    i974    i975    i976    i977    i978    i979    i980    i981    i982    i983    i984    i985    i986    i987    i988    i989    i990    i991    i992    i993    i994    i995    i996    i997    i998    i999    i1000   b
 
1310
0       0       0       0       0       0       0       0       0       0       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
1311
UPDATE federated.t1 SET i50=20;
 
1312
SELECT * FROM federated.t1;
 
1313
i1      i2      i3      i4      i5      i6      i7      i8      i9      i10     i11     i12     i13     i14     i15     i16     i17     i18     i19     i20     i21     i22     i23     i24     i25     i26     i27     i28     i29     i30     i31     i32     i33     i34     i35     i36     i37     i38     i39     i40     i41     i42     i43     i44     i45     i46     i47     i48     i49     i50     i51     i52     i53     i54     i55     i56     i57     i58     i59     i60     i61     i62     i63     i64     i65     i66     i67     i68     i69     i70     i71     i72     i73     i74     i75     i76     i77     i78     i79     i80     i81     i82     i83     i84     i85     i86     i87     i88     i89     i90     i91     i92     i93     i94     i95     i96     i97     i98     i99     i100    i101    i102    i103    i104    i105    i106    i107    i108    i109    i110    i111    i112    i113    i114    i115    i116    i117    i118    i119    i120    i121    i122    i123    i124    i125    i126    i127    i128    i129    i130    i131    i132    i133    i134    i135    i136    i137    i138    i139    i140    i141    i142    i143    i144    i145    i146    i147    i148    i149    i150    i151    i152    i153    i154    i155    i156    i157    i158    i159    i160    i161    i162    i163    i164    i165    i166    i167    i168    i169    i170    i171    i172    i173    i174    i175    i176    i177    i178    i179    i180    i181    i182    i183    i184    i185    i186    i187    i188    i189    i190    i191    i192    i193    i194    i195    i196    i197    i198    i199    i200    i201    i202    i203    i204    i205    i206    i207    i208    i209    i210    i211    i212    i213    i214    i215    i216    i217    i218    i219    i220    i221    i222    i223    i224    i225    i226    i227    i228    i229    i230    i231    i232    i233    i234    i235    i236    i237    i238    i239    i240    i241    i242    i243    i244    i245    i246    i247    i248    i249    i250    i251    i252    i253    i254    i255    i256    i257    i258    i259    i260    i261    i262    i263    i264    i265    i266    i267    i268    i269    i270    i271    i272    i273    i274    i275    i276    i277    i278    i279    i280    i281    i282    i283    i284    i285    i286    i287    i288    i289    i290    i291    i292    i293    i294    i295    i296    i297    i298    i299    i300    i301    i302    i303    i304    i305    i306    i307    i308    i309    i310    i311    i312    i313    i314    i315    i316    i317    i318    i319    i320    i321    i322    i323    i324    i325    i326    i327    i328    i329    i330    i331    i332    i333    i334    i335    i336    i337    i338    i339    i340    i341    i342    i343    i344    i345    i346    i347    i348    i349    i350    i351    i352    i353    i354    i355    i356    i357    i358    i359    i360    i361    i362    i363    i364    i365    i366    i367    i368    i369    i370    i371    i372    i373    i374    i375    i376    i377    i378    i379    i380    i381    i382    i383    i384    i385    i386    i387    i388    i389    i390    i391    i392    i393    i394    i395    i396    i397    i398    i399    i400    i401    i402    i403    i404    i405    i406    i407    i408    i409    i410    i411    i412    i413    i414    i415    i416    i417    i418    i419    i420    i421    i422    i423    i424    i425    i426    i427    i428    i429    i430    i431    i432    i433    i434    i435    i436    i437    i438    i439    i440    i441    i442    i443    i444    i445    i446    i447    i448    i449    i450    i451    i452    i453    i454    i455    i456    i457    i458    i459    i460    i461    i462    i463    i464    i465    i466    i467    i468    i469    i470    i471    i472    i473    i474    i475    i476    i477    i478    i479    i480    i481    i482    i483    i484    i485    i486    i487    i488    i489    i490    i491    i492    i493    i494    i495    i496    i497    i498    i499    i500    i501    i502    i503    i504    i505    i506    i507    i508    i509    i510    i511    i512    i513    i514    i515    i516    i517    i518    i519    i520    i521    i522    i523    i524    i525    i526    i527    i528    i529    i530    i531    i532    i533    i534    i535    i536    i537    i538    i539    i540    i541    i542    i543    i544    i545    i546    i547    i548    i549    i550    i551    i552    i553    i554    i555    i556    i557    i558    i559    i560    i561    i562    i563    i564    i565    i566    i567    i568    i569    i570    i571    i572    i573    i574    i575    i576    i577    i578    i579    i580    i581    i582    i583    i584    i585    i586    i587    i588    i589    i590    i591    i592    i593    i594    i595    i596    i597    i598    i599    i600    i601    i602    i603    i604    i605    i606    i607    i608    i609    i610    i611    i612    i613    i614    i615    i616    i617    i618    i619    i620    i621    i622    i623    i624    i625    i626    i627    i628    i629    i630    i631    i632    i633    i634    i635    i636    i637    i638    i639    i640    i641    i642    i643    i644    i645    i646    i647    i648    i649    i650    i651    i652    i653    i654    i655    i656    i657    i658    i659    i660    i661    i662    i663    i664    i665    i666    i667    i668    i669    i670    i671    i672    i673    i674    i675    i676    i677    i678    i679    i680    i681    i682    i683    i684    i685    i686    i687    i688    i689    i690    i691    i692    i693    i694    i695    i696    i697    i698    i699    i700    i701    i702    i703    i704    i705    i706    i707    i708    i709    i710    i711    i712    i713    i714    i715    i716    i717    i718    i719    i720    i721    i722    i723    i724    i725    i726    i727    i728    i729    i730    i731    i732    i733    i734    i735    i736    i737    i738    i739    i740    i741    i742    i743    i744    i745    i746    i747    i748    i749    i750    i751    i752    i753    i754    i755    i756    i757    i758    i759    i760    i761    i762    i763    i764    i765    i766    i767    i768    i769    i770    i771    i772    i773    i774    i775    i776    i777    i778    i779    i780    i781    i782    i783    i784    i785    i786    i787    i788    i789    i790    i791    i792    i793    i794    i795    i796    i797    i798    i799    i800    i801    i802    i803    i804    i805    i806    i807    i808    i809    i810    i811    i812    i813    i814    i815    i816    i817    i818    i819    i820    i821    i822    i823    i824    i825    i826    i827    i828    i829    i830    i831    i832    i833    i834    i835    i836    i837    i838    i839    i840    i841    i842    i843    i844    i845    i846    i847    i848    i849    i850    i851    i852    i853    i854    i855    i856    i857    i858    i859    i860    i861    i862    i863    i864    i865    i866    i867    i868    i869    i870    i871    i872    i873    i874    i875    i876    i877    i878    i879    i880    i881    i882    i883    i884    i885    i886    i887    i888    i889    i890    i891    i892    i893    i894    i895    i896    i897    i898    i899    i900    i901    i902    i903    i904    i905    i906    i907    i908    i909    i910    i911    i912    i913    i914    i915    i916    i917    i918    i919    i920    i921    i922    i923    i924    i925    i926    i927    i928    i929    i930    i931    i932    i933    i934    i935    i936    i937    i938    i939    i940    i941    i942    i943    i944    i945    i946    i947    i948    i949    i950    i951    i952    i953    i954    i955    i956    i957    i958    i959    i960    i961    i962    i963    i964    i965    i966    i967    i968    i969    i970    i971    i972    i973    i974    i975    i976    i977    i978    i979    i980    i981    i982    i983    i984    i985    i986    i987    i988    i989    i990    i991    i992    i993    i994    i995    i996    i997    i998    i999    i1000   b
 
1314
0       0       0       0       0       0       0       0       0       0       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       20      1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
1315
DELETE FROM federated.t1 WHERE i51=20;
 
1316
SELECT * FROM federated.t1;
 
1317
i1      i2      i3      i4      i5      i6      i7      i8      i9      i10     i11     i12     i13     i14     i15     i16     i17     i18     i19     i20     i21     i22     i23     i24     i25     i26     i27     i28     i29     i30     i31     i32     i33     i34     i35     i36     i37     i38     i39     i40     i41     i42     i43     i44     i45     i46     i47     i48     i49     i50     i51     i52     i53     i54     i55     i56     i57     i58     i59     i60     i61     i62     i63     i64     i65     i66     i67     i68     i69     i70     i71     i72     i73     i74     i75     i76     i77     i78     i79     i80     i81     i82     i83     i84     i85     i86     i87     i88     i89     i90     i91     i92     i93     i94     i95     i96     i97     i98     i99     i100    i101    i102    i103    i104    i105    i106    i107    i108    i109    i110    i111    i112    i113    i114    i115    i116    i117    i118    i119    i120    i121    i122    i123    i124    i125    i126    i127    i128    i129    i130    i131    i132    i133    i134    i135    i136    i137    i138    i139    i140    i141    i142    i143    i144    i145    i146    i147    i148    i149    i150    i151    i152    i153    i154    i155    i156    i157    i158    i159    i160    i161    i162    i163    i164    i165    i166    i167    i168    i169    i170    i171    i172    i173    i174    i175    i176    i177    i178    i179    i180    i181    i182    i183    i184    i185    i186    i187    i188    i189    i190    i191    i192    i193    i194    i195    i196    i197    i198    i199    i200    i201    i202    i203    i204    i205    i206    i207    i208    i209    i210    i211    i212    i213    i214    i215    i216    i217    i218    i219    i220    i221    i222    i223    i224    i225    i226    i227    i228    i229    i230    i231    i232    i233    i234    i235    i236    i237    i238    i239    i240    i241    i242    i243    i244    i245    i246    i247    i248    i249    i250    i251    i252    i253    i254    i255    i256    i257    i258    i259    i260    i261    i262    i263    i264    i265    i266    i267    i268    i269    i270    i271    i272    i273    i274    i275    i276    i277    i278    i279    i280    i281    i282    i283    i284    i285    i286    i287    i288    i289    i290    i291    i292    i293    i294    i295    i296    i297    i298    i299    i300    i301    i302    i303    i304    i305    i306    i307    i308    i309    i310    i311    i312    i313    i314    i315    i316    i317    i318    i319    i320    i321    i322    i323    i324    i325    i326    i327    i328    i329    i330    i331    i332    i333    i334    i335    i336    i337    i338    i339    i340    i341    i342    i343    i344    i345    i346    i347    i348    i349    i350    i351    i352    i353    i354    i355    i356    i357    i358    i359    i360    i361    i362    i363    i364    i365    i366    i367    i368    i369    i370    i371    i372    i373    i374    i375    i376    i377    i378    i379    i380    i381    i382    i383    i384    i385    i386    i387    i388    i389    i390    i391    i392    i393    i394    i395    i396    i397    i398    i399    i400    i401    i402    i403    i404    i405    i406    i407    i408    i409    i410    i411    i412    i413    i414    i415    i416    i417    i418    i419    i420    i421    i422    i423    i424    i425    i426    i427    i428    i429    i430    i431    i432    i433    i434    i435    i436    i437    i438    i439    i440    i441    i442    i443    i444    i445    i446    i447    i448    i449    i450    i451    i452    i453    i454    i455    i456    i457    i458    i459    i460    i461    i462    i463    i464    i465    i466    i467    i468    i469    i470    i471    i472    i473    i474    i475    i476    i477    i478    i479    i480    i481    i482    i483    i484    i485    i486    i487    i488    i489    i490    i491    i492    i493    i494    i495    i496    i497    i498    i499    i500    i501    i502    i503    i504    i505    i506    i507    i508    i509    i510    i511    i512    i513    i514    i515    i516    i517    i518    i519    i520    i521    i522    i523    i524    i525    i526    i527    i528    i529    i530    i531    i532    i533    i534    i535    i536    i537    i538    i539    i540    i541    i542    i543    i544    i545    i546    i547    i548    i549    i550    i551    i552    i553    i554    i555    i556    i557    i558    i559    i560    i561    i562    i563    i564    i565    i566    i567    i568    i569    i570    i571    i572    i573    i574    i575    i576    i577    i578    i579    i580    i581    i582    i583    i584    i585    i586    i587    i588    i589    i590    i591    i592    i593    i594    i595    i596    i597    i598    i599    i600    i601    i602    i603    i604    i605    i606    i607    i608    i609    i610    i611    i612    i613    i614    i615    i616    i617    i618    i619    i620    i621    i622    i623    i624    i625    i626    i627    i628    i629    i630    i631    i632    i633    i634    i635    i636    i637    i638    i639    i640    i641    i642    i643    i644    i645    i646    i647    i648    i649    i650    i651    i652    i653    i654    i655    i656    i657    i658    i659    i660    i661    i662    i663    i664    i665    i666    i667    i668    i669    i670    i671    i672    i673    i674    i675    i676    i677    i678    i679    i680    i681    i682    i683    i684    i685    i686    i687    i688    i689    i690    i691    i692    i693    i694    i695    i696    i697    i698    i699    i700    i701    i702    i703    i704    i705    i706    i707    i708    i709    i710    i711    i712    i713    i714    i715    i716    i717    i718    i719    i720    i721    i722    i723    i724    i725    i726    i727    i728    i729    i730    i731    i732    i733    i734    i735    i736    i737    i738    i739    i740    i741    i742    i743    i744    i745    i746    i747    i748    i749    i750    i751    i752    i753    i754    i755    i756    i757    i758    i759    i760    i761    i762    i763    i764    i765    i766    i767    i768    i769    i770    i771    i772    i773    i774    i775    i776    i777    i778    i779    i780    i781    i782    i783    i784    i785    i786    i787    i788    i789    i790    i791    i792    i793    i794    i795    i796    i797    i798    i799    i800    i801    i802    i803    i804    i805    i806    i807    i808    i809    i810    i811    i812    i813    i814    i815    i816    i817    i818    i819    i820    i821    i822    i823    i824    i825    i826    i827    i828    i829    i830    i831    i832    i833    i834    i835    i836    i837    i838    i839    i840    i841    i842    i843    i844    i845    i846    i847    i848    i849    i850    i851    i852    i853    i854    i855    i856    i857    i858    i859    i860    i861    i862    i863    i864    i865    i866    i867    i868    i869    i870    i871    i872    i873    i874    i875    i876    i877    i878    i879    i880    i881    i882    i883    i884    i885    i886    i887    i888    i889    i890    i891    i892    i893    i894    i895    i896    i897    i898    i899    i900    i901    i902    i903    i904    i905    i906    i907    i908    i909    i910    i911    i912    i913    i914    i915    i916    i917    i918    i919    i920    i921    i922    i923    i924    i925    i926    i927    i928    i929    i930    i931    i932    i933    i934    i935    i936    i937    i938    i939    i940    i941    i942    i943    i944    i945    i946    i947    i948    i949    i950    i951    i952    i953    i954    i955    i956    i957    i958    i959    i960    i961    i962    i963    i964    i965    i966    i967    i968    i969    i970    i971    i972    i973    i974    i975    i976    i977    i978    i979    i980    i981    i982    i983    i984    i985    i986    i987    i988    i989    i990    i991    i992    i993    i994    i995    i996    i997    i998    i999    i1000   b
 
1318
0       0       0       0       0       0       0       0       0       0       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       20      1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       1       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
1319
DELETE FROM federated.t1 WHERE i50=20;
 
1320
SELECT * FROM federated.t1;
 
1321
i1      i2      i3      i4      i5      i6      i7      i8      i9      i10     i11     i12     i13     i14     i15     i16     i17     i18     i19     i20     i21     i22     i23     i24     i25     i26     i27     i28     i29     i30     i31     i32     i33     i34     i35     i36     i37     i38     i39     i40     i41     i42     i43     i44     i45     i46     i47     i48     i49     i50     i51     i52     i53     i54     i55     i56     i57     i58     i59     i60     i61     i62     i63     i64     i65     i66     i67     i68     i69     i70     i71     i72     i73     i74     i75     i76     i77     i78     i79     i80     i81     i82     i83     i84     i85     i86     i87     i88     i89     i90     i91     i92     i93     i94     i95     i96     i97     i98     i99     i100    i101    i102    i103    i104    i105    i106    i107    i108    i109    i110    i111    i112    i113    i114    i115    i116    i117    i118    i119    i120    i121    i122    i123    i124    i125    i126    i127    i128    i129    i130    i131    i132    i133    i134    i135    i136    i137    i138    i139    i140    i141    i142    i143    i144    i145    i146    i147    i148    i149    i150    i151    i152    i153    i154    i155    i156    i157    i158    i159    i160    i161    i162    i163    i164    i165    i166    i167    i168    i169    i170    i171    i172    i173    i174    i175    i176    i177    i178    i179    i180    i181    i182    i183    i184    i185    i186    i187    i188    i189    i190    i191    i192    i193    i194    i195    i196    i197    i198    i199    i200    i201    i202    i203    i204    i205    i206    i207    i208    i209    i210    i211    i212    i213    i214    i215    i216    i217    i218    i219    i220    i221    i222    i223    i224    i225    i226    i227    i228    i229    i230    i231    i232    i233    i234    i235    i236    i237    i238    i239    i240    i241    i242    i243    i244    i245    i246    i247    i248    i249    i250    i251    i252    i253    i254    i255    i256    i257    i258    i259    i260    i261    i262    i263    i264    i265    i266    i267    i268    i269    i270    i271    i272    i273    i274    i275    i276    i277    i278    i279    i280    i281    i282    i283    i284    i285    i286    i287    i288    i289    i290    i291    i292    i293    i294    i295    i296    i297    i298    i299    i300    i301    i302    i303    i304    i305    i306    i307    i308    i309    i310    i311    i312    i313    i314    i315    i316    i317    i318    i319    i320    i321    i322    i323    i324    i325    i326    i327    i328    i329    i330    i331    i332    i333    i334    i335    i336    i337    i338    i339    i340    i341    i342    i343    i344    i345    i346    i347    i348    i349    i350    i351    i352    i353    i354    i355    i356    i357    i358    i359    i360    i361    i362    i363    i364    i365    i366    i367    i368    i369    i370    i371    i372    i373    i374    i375    i376    i377    i378    i379    i380    i381    i382    i383    i384    i385    i386    i387    i388    i389    i390    i391    i392    i393    i394    i395    i396    i397    i398    i399    i400    i401    i402    i403    i404    i405    i406    i407    i408    i409    i410    i411    i412    i413    i414    i415    i416    i417    i418    i419    i420    i421    i422    i423    i424    i425    i426    i427    i428    i429    i430    i431    i432    i433    i434    i435    i436    i437    i438    i439    i440    i441    i442    i443    i444    i445    i446    i447    i448    i449    i450    i451    i452    i453    i454    i455    i456    i457    i458    i459    i460    i461    i462    i463    i464    i465    i466    i467    i468    i469    i470    i471    i472    i473    i474    i475    i476    i477    i478    i479    i480    i481    i482    i483    i484    i485    i486    i487    i488    i489    i490    i491    i492    i493    i494    i495    i496    i497    i498    i499    i500    i501    i502    i503    i504    i505    i506    i507    i508    i509    i510    i511    i512    i513    i514    i515    i516    i517    i518    i519    i520    i521    i522    i523    i524    i525    i526    i527    i528    i529    i530    i531    i532    i533    i534    i535    i536    i537    i538    i539    i540    i541    i542    i543    i544    i545    i546    i547    i548    i549    i550    i551    i552    i553    i554    i555    i556    i557    i558    i559    i560    i561    i562    i563    i564    i565    i566    i567    i568    i569    i570    i571    i572    i573    i574    i575    i576    i577    i578    i579    i580    i581    i582    i583    i584    i585    i586    i587    i588    i589    i590    i591    i592    i593    i594    i595    i596    i597    i598    i599    i600    i601    i602    i603    i604    i605    i606    i607    i608    i609    i610    i611    i612    i613    i614    i615    i616    i617    i618    i619    i620    i621    i622    i623    i624    i625    i626    i627    i628    i629    i630    i631    i632    i633    i634    i635    i636    i637    i638    i639    i640    i641    i642    i643    i644    i645    i646    i647    i648    i649    i650    i651    i652    i653    i654    i655    i656    i657    i658    i659    i660    i661    i662    i663    i664    i665    i666    i667    i668    i669    i670    i671    i672    i673    i674    i675    i676    i677    i678    i679    i680    i681    i682    i683    i684    i685    i686    i687    i688    i689    i690    i691    i692    i693    i694    i695    i696    i697    i698    i699    i700    i701    i702    i703    i704    i705    i706    i707    i708    i709    i710    i711    i712    i713    i714    i715    i716    i717    i718    i719    i720    i721    i722    i723    i724    i725    i726    i727    i728    i729    i730    i731    i732    i733    i734    i735    i736    i737    i738    i739    i740    i741    i742    i743    i744    i745    i746    i747    i748    i749    i750    i751    i752    i753    i754    i755    i756    i757    i758    i759    i760    i761    i762    i763    i764    i765    i766    i767    i768    i769    i770    i771    i772    i773    i774    i775    i776    i777    i778    i779    i780    i781    i782    i783    i784    i785    i786    i787    i788    i789    i790    i791    i792    i793    i794    i795    i796    i797    i798    i799    i800    i801    i802    i803    i804    i805    i806    i807    i808    i809    i810    i811    i812    i813    i814    i815    i816    i817    i818    i819    i820    i821    i822    i823    i824    i825    i826    i827    i828    i829    i830    i831    i832    i833    i834    i835    i836    i837    i838    i839    i840    i841    i842    i843    i844    i845    i846    i847    i848    i849    i850    i851    i852    i853    i854    i855    i856    i857    i858    i859    i860    i861    i862    i863    i864    i865    i866    i867    i868    i869    i870    i871    i872    i873    i874    i875    i876    i877    i878    i879    i880    i881    i882    i883    i884    i885    i886    i887    i888    i889    i890    i891    i892    i893    i894    i895    i896    i897    i898    i899    i900    i901    i902    i903    i904    i905    i906    i907    i908    i909    i910    i911    i912    i913    i914    i915    i916    i917    i918    i919    i920    i921    i922    i923    i924    i925    i926    i927    i928    i929    i930    i931    i932    i933    i934    i935    i936    i937    i938    i939    i940    i941    i942    i943    i944    i945    i946    i947    i948    i949    i950    i951    i952    i953    i954    i955    i956    i957    i958    i959    i960    i961    i962    i963    i964    i965    i966    i967    i968    i969    i970    i971    i972    i973    i974    i975    i976    i977    i978    i979    i980    i981    i982    i983    i984    i985    i986    i987    i988    i989    i990    i991    i992    i993    i994    i995    i996    i997    i998    i999    i1000   b
 
1322
DROP TABLE IF EXISTS federated.t1;
 
1323
CREATE TABLE federated.t1 (id int NOT NULL auto_increment, code char(20) NOT NULL, fileguts blob NOT NULL, creation_date datetime, entered_time datetime default '2004-04-04 04:04:04', PRIMARY KEY(id), index(code), index(fileguts(10))) DEFAULT CHARSET=latin1;
 
1324
DROP TABLE IF EXISTS federated.t1;
 
1325
CREATE TABLE federated.t1 (
 
1326
id int NOT NULL auto_increment,
 
1327
code char(20) NOT NULL,
 
1328
fileguts blob NOT NULL,
 
1329
creation_date datetime,
 
1330
entered_time datetime default '2004-04-04 04:04:04',
 
1331
PRIMARY KEY(id),
 
1332
index(code),
 
1333
index(fileguts(10)))
 
1334
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
1335
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1336
INSERT INTO federated.t1 (code, fileguts, creation_date) VALUES ('ASDFWERQWETWETAWETA', '*()w*09*$()*#)(*09*^90*d)(*s()d8g)(s*ned)(*)(s*d)(*hn(d*)(*sbn)D((#$*(#*%%&#&^$#&#&#&#&^&#*&*#$*&^*(&#(&Q*&&(*!&!(*&*(#&*(%&#<S-F8>*<S-F8><S-F8><S-F8>#<S-F8>#<S-F8>#<S-F8>[[', '2003-03-03 03:03:03');
 
1337
INSERT INTO federated.t1 (code, fileguts, creation_date) VALUES ('DEUEUEUEUEUEUEUEUEU', '*()w*09*$()*#)(*09*^90*d)(*s()d8g)(s*ned)(*)(s*d)(*hn(d*)(*sbn)D((#$*(#*%%&#&^$#&#&#&#&^&#*&*#$*&^*(&#(&Q*&&(*!&!(*&*(#&*(%&#<S-F8>*<S-F8><S-F8><S-F8>#<S-F8>#<S-F8>#<S-F8>[[', '2004-04-04 04:04:04');
 
1338
INSERT INTO federated.t1 (code, fileguts, creation_date) VALUES ('DEUEUEUEUEUEUEUEUEU', 'jimbob', '2004-04-04 04:04:04');
 
1339
SELECT * FROM federated.t1;
 
1340
id      code    fileguts        creation_date   entered_time
 
1341
1       ASDFWERQWETWETAWETA     *()w*09*$()*#)(*09*^90*d)(*s()d8g)(s*ned)(*)(s*d)(*hn(d*)(*sbn)D((#$*(#*%%&#&^$#&#&#&#&^&#*&*#$*&^*(&#(&Q*&&(*!&!(*&*(#&*(%&#<S-F8>*<S-F8><S-F8><S-F8>#<S-F8>#<S-F8>#<S-F8>[[   2003-03-03 03:03:03     2004-04-04 04:04:04
 
1342
2       DEUEUEUEUEUEUEUEUEU     *()w*09*$()*#)(*09*^90*d)(*s()d8g)(s*ned)(*)(s*d)(*hn(d*)(*sbn)D((#$*(#*%%&#&^$#&#&#&#&^&#*&*#$*&^*(&#(&Q*&&(*!&!(*&*(#&*(%&#<S-F8>*<S-F8><S-F8><S-F8>#<S-F8>#<S-F8>#<S-F8>[[   2004-04-04 04:04:04     2004-04-04 04:04:04
 
1343
3       DEUEUEUEUEUEUEUEUEU     jimbob  2004-04-04 04:04:04     2004-04-04 04:04:04
 
1344
SELECT * FROM federated.t1 WHERE fileguts = 'jimbob';
 
1345
id      code    fileguts        creation_date   entered_time
 
1346
3       DEUEUEUEUEUEUEUEUEU     jimbob  2004-04-04 04:04:04     2004-04-04 04:04:04
 
1347
DROP TABLE IF EXISTS federated.t1;
 
1348
CREATE TABLE federated.t1 (`a` BLOB);
 
1349
DROP TABLE IF EXISTS federated.t1;
 
1350
CREATE TABLE federated.t1 (
 
1351
`a` BLOB)
 
1352
ENGINE="FEDERATED"
 
1353
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1354
INSERT INTO federated.t1 VALUES (0x00);
 
1355
INSERT INTO federated.t1 VALUES (0x0001);
 
1356
INSERT INTO federated.t1 VALUES (0x0100);
 
1357
SELECT HEX(a) FROM federated.t1;
 
1358
HEX(a)
 
1359
00
 
1360
0001
 
1361
0100
 
1362
DROP TABLE IF EXISTS federated.t1;
 
1363
CREATE TABLE federated.t1 (
 
1364
`id` int(20) NOT NULL auto_increment,
 
1365
`country_id` int(20) NOT NULL DEFAULT 0,
 
1366
`name` varchar(32),
 
1367
`other` varchar(20),
 
1368
PRIMARY KEY  (`id`),
 
1369
key (country_id));
 
1370
DROP TABLE IF EXISTS federated.countries;
 
1371
Warnings:
 
1372
Note    1051    Unknown table 'countries'
 
1373
CREATE TABLE federated.countries (
 
1374
`id` int(20) NOT NULL auto_increment,
 
1375
`country` varchar(32),
 
1376
PRIMARY KEY (id));
 
1377
INSERT INTO federated.countries (country) VALUES ('India');
 
1378
INSERT INTO federated.countries (country) VALUES ('Germany');
 
1379
INSERT INTO federated.countries (country) VALUES ('Italy');
 
1380
INSERT INTO federated.countries (country) VALUES ('Finland');
 
1381
INSERT INTO federated.countries (country) VALUES ('Ukraine');
 
1382
DROP TABLE IF EXISTS federated.t1;
 
1383
CREATE TABLE federated.t1 (
 
1384
`id` int(20) NOT NULL auto_increment,
 
1385
`country_id` int(20) NOT NULL DEFAULT 0,
 
1386
`name` varchar(32),
 
1387
`other` varchar(20),
 
1388
PRIMARY KEY  (`id`),
 
1389
KEY (country_id) )
 
1390
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
1391
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1392
INSERT INTO federated.t1 (name, country_id, other) VALUES ('Kumar', 1, 11111);
 
1393
INSERT INTO federated.t1 (name, country_id, other) VALUES ('Lenz', 2, 22222);
 
1394
INSERT INTO federated.t1 (name, country_id, other) VALUES ('Marizio', 3, 33333);
 
1395
INSERT INTO federated.t1 (name, country_id, other) VALUES ('Monty', 4, 33333);
 
1396
INSERT INTO federated.t1 (name, country_id, other) VALUES ('Sanja', 5, 33333);
 
1397
SELECT federated.t1.name AS name, federated.t1.country_id AS country_id,
 
1398
federated.t1.other AS other, federated.countries.country AS country 
 
1399
FROM federated.t1, federated.countries WHERE
 
1400
federated.t1.country_id = federated.countries.id;
 
1401
name    country_id      other   country
 
1402
Kumar   1       11111   India
 
1403
Lenz    2       22222   Germany
 
1404
Marizio 3       33333   Italy
 
1405
Monty   4       33333   Finland
 
1406
Sanja   5       33333   Ukraine
 
1407
SELECT federated.t1.name AS name, federated.t1.country_id AS country_id,
 
1408
federated.t1.other AS other, federated.countries.country AS country
 
1409
FROM federated.t1 INNER JOIN federated.countries ON
 
1410
federated.t1.country_id = federated.countries.id;
 
1411
name    country_id      other   country
 
1412
Kumar   1       11111   India
 
1413
Lenz    2       22222   Germany
 
1414
Marizio 3       33333   Italy
 
1415
Monty   4       33333   Finland
 
1416
Sanja   5       33333   Ukraine
 
1417
SELECT federated.t1.name AS name, federated.t1.country_id AS country_id,
 
1418
federated.t1.other AS other, federated.countries.country AS country
 
1419
FROM federated.t1 INNER JOIN federated.countries ON
 
1420
federated.t1.country_id = federated.countries.id
 
1421
WHERE federated.t1.name = 'Monty';
 
1422
name    country_id      other   country
 
1423
Monty   4       33333   Finland
 
1424
SELECT federated.t1.*, federated.countries.country 
 
1425
FROM federated.t1 LEFT JOIN federated.countries 
 
1426
ON federated.t1.country_id = federated.countries.id
 
1427
ORDER BY federated.countries.id;
 
1428
id      country_id      name    other   country
 
1429
1       1       Kumar   11111   India
 
1430
2       2       Lenz    22222   Germany
 
1431
3       3       Marizio 33333   Italy
 
1432
4       4       Monty   33333   Finland
 
1433
5       5       Sanja   33333   Ukraine
 
1434
SELECT federated.t1.*, federated.countries.country 
 
1435
FROM federated.t1 LEFT JOIN federated.countries 
 
1436
ON federated.t1.country_id = federated.countries.id
 
1437
ORDER BY federated.countries.country;
 
1438
id      country_id      name    other   country
 
1439
4       4       Monty   33333   Finland
 
1440
2       2       Lenz    22222   Germany
 
1441
1       1       Kumar   11111   India
 
1442
3       3       Marizio 33333   Italy
 
1443
5       5       Sanja   33333   Ukraine
 
1444
SELECT federated.t1.*, federated.countries.country 
 
1445
FROM federated.t1 RIGHT JOIN federated.countries 
 
1446
ON federated.t1.country_id = federated.countries.id 
 
1447
ORDER BY federated.t1.country_id;
 
1448
id      country_id      name    other   country
 
1449
1       1       Kumar   11111   India
 
1450
2       2       Lenz    22222   Germany
 
1451
3       3       Marizio 33333   Italy
 
1452
4       4       Monty   33333   Finland
 
1453
5       5       Sanja   33333   Ukraine
 
1454
DROP TABLE federated.countries;
 
1455
OPTIMIZE TABLE federated.t1;
 
1456
Table   Op      Msg_type        Msg_text
 
1457
federated.t1    optimize        status  OK
 
1458
REPAIR TABLE federated.t1;
 
1459
Table   Op      Msg_type        Msg_text
 
1460
federated.t1    repair  status  OK
 
1461
REPAIR TABLE federated.t1 QUICK;
 
1462
Table   Op      Msg_type        Msg_text
 
1463
federated.t1    repair  status  OK
 
1464
REPAIR TABLE federated.t1 EXTENDED;
 
1465
Table   Op      Msg_type        Msg_text
 
1466
federated.t1    repair  status  OK
 
1467
REPAIR TABLE federated.t1 USE_FRM;
 
1468
Table   Op      Msg_type        Msg_text
 
1469
federated.t1    repair  status  OK
 
1470
DROP TABLE IF EXISTS federated.normal_table;
 
1471
CREATE TABLE federated.normal_table (
 
1472
`id` int(4) NOT NULL,
 
1473
`name` varchar(10) default NULL
 
1474
) DEFAULT CHARSET=latin1;
 
1475
DROP TABLE IF EXISTS federated.alter_me;
 
1476
CREATE TABLE federated.alter_me (
 
1477
`id` int(4) NOT NULL,
 
1478
`name` varchar(10) default NULL,
 
1479
PRIMARY KEY (`id`)
 
1480
) ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
1481
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/normal_table';
 
1482
INSERT INTO federated.alter_me (id, name) VALUES (1, 'Monty');
 
1483
INSERT INTO federated.alter_me (id, name) VALUES (2, 'David');
 
1484
SELECT * FROM federated.alter_me;
 
1485
id      name
 
1486
1       Monty
 
1487
2       David
 
1488
ALTER TABLE federated.alter_me MODIFY COLUMN id int(16) NOT NULL;
 
1489
ERROR HY000: Table storage engine for 'alter_me' doesn't have this option
 
1490
SELECT * FROM federated.alter_me;
 
1491
id      name
 
1492
1       Monty
 
1493
2       David
 
1494
DROP TABLE federated.alter_me;
 
1495
DROP TABLE federated.normal_table;
 
1496
DROP TABLE IF EXISTS federated.t1;
 
1497
CREATE TABLE federated.t1 (
 
1498
`bitty` bit(3)
 
1499
) DEFAULT CHARSET=latin1;
 
1500
DROP TABLE IF EXISTS federated.t1;
 
1501
CREATE TABLE federated.t1 (
 
1502
`bitty` bit(3)
 
1503
) ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
1504
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1505
INSERT INTO federated.t1 VALUES (b'001');
 
1506
INSERT INTO federated.t1 VALUES (b'010');
 
1507
INSERT INTO federated.t1 VALUES (b'011');
 
1508
INSERT INTO federated.t1 VALUES (b'100');
 
1509
INSERT INTO federated.t1 VALUES (b'101');
 
1510
INSERT INTO federated.t1 VALUES (b'110');
 
1511
INSERT INTO federated.t1 VALUES (b'111');
 
1512
select * FROM federated.t1;
 
1513
bitty
 
1514

 
1515

 
1516

 
1517

 
1518

 
1519

 
1520

 
1521
drop table federated.t1;
 
1522
drop table federated.t1;
 
1523
DROP TABLE IF EXISTS federated.t1;
 
1524
Warnings:
 
1525
Note    1051    Unknown table 't1'
 
1526
CREATE TABLE federated.t1 (
 
1527
`id` int(20) NOT NULL auto_increment,
 
1528
PRIMARY KEY  (`id`));
 
1529
DROP TABLE IF EXISTS federated.t1;
 
1530
Warnings:
 
1531
Note    1051    Unknown table 't1'
 
1532
CREATE TABLE federated.t1 (
 
1533
`id` int(20) NOT NULL auto_increment,
 
1534
PRIMARY KEY  (`id`)
 
1535
)
 
1536
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
 
1537
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1538
INSERT INTO federated.t1 VALUES ();
 
1539
SELECT LAST_INSERT_ID();
 
1540
LAST_INSERT_ID()
 
1541
1
 
1542
INSERT INTO federated.t1 VALUES ();
 
1543
SELECT LAST_INSERT_ID();
 
1544
LAST_INSERT_ID()
 
1545
2
 
1546
INSERT INTO federated.t1 VALUES ();
 
1547
SELECT LAST_INSERT_ID();
 
1548
LAST_INSERT_ID()
 
1549
3
 
1550
INSERT INTO federated.t1 VALUES ();
 
1551
SELECT LAST_INSERT_ID();
 
1552
LAST_INSERT_ID()
 
1553
4
 
1554
INSERT INTO federated.t1 VALUES ();
 
1555
SELECT LAST_INSERT_ID();
 
1556
LAST_INSERT_ID()
 
1557
5
 
1558
SELECT * FROM federated.t1;
 
1559
id
 
1560
1
 
1561
2
 
1562
3
 
1563
4
 
1564
5
 
1565
DROP TABLE federated.t1;
 
1566
DROP TABLE federated.t1;
 
1567
DROP TABLE IF EXISTS federated.bug_17377_table;
 
1568
CREATE TABLE federated.bug_17377_table (
 
1569
`fld_cid` bigint(20) NOT NULL auto_increment,
 
1570
`fld_name` varchar(255) NOT NULL default '',
 
1571
`fld_parentid` bigint(20) NOT NULL default '0',
 
1572
`fld_delt` int(1) NOT NULL default '0',
 
1573
PRIMARY KEY (`fld_cid`),
 
1574
KEY `fld_parentid` (`fld_parentid`),
 
1575
KEY `fld_delt` (`fld_delt`),
 
1576
KEY `fld_cid` (`fld_cid`)
 
1577
) ENGINE=MyISAM;
 
1578
insert into federated.bug_17377_table( fld_name )
 
1579
values
 
1580
("Mats"), ("Sivert"), ("Sigvard"), ("Torgny"), ("Torkel");
 
1581
DROP TABLE IF EXISTS federated.t1;
 
1582
CREATE TABLE federated.t1 (
 
1583
`fld_cid` bigint(20) NOT NULL auto_increment,
 
1584
`fld_name` varchar(255) NOT NULL default '',
 
1585
`fld_parentid` bigint(20) NOT NULL default '0',
 
1586
`fld_delt` int(1) NOT NULL default '0',
 
1587
PRIMARY KEY (`fld_cid`),
 
1588
KEY `fld_parentid` (`fld_parentid`),
 
1589
KEY `fld_delt` (`fld_delt`),
 
1590
KEY `fld_cid` (`fld_cid`)
 
1591
) ENGINE=FEDERATED
 
1592
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/bug_17377_table';
 
1593
select * from federated.t1 where fld_parentid=0 and fld_delt=0
 
1594
order by fld_name;
 
1595
fld_cid fld_name        fld_parentid    fld_delt
 
1596
1       Mats    0       0
 
1597
3       Sigvard 0       0
 
1598
2       Sivert  0       0
 
1599
4       Torgny  0       0
 
1600
5       Torkel  0       0
 
1601
select * from federated.t1 where fld_parentid=0 and fld_delt=0;
 
1602
fld_cid fld_name        fld_parentid    fld_delt
 
1603
1       Mats    0       0
 
1604
2       Sivert  0       0
 
1605
3       Sigvard 0       0
 
1606
4       Torgny  0       0
 
1607
5       Torkel  0       0
 
1608
DROP TABLE federated.t1;
 
1609
DROP TABLE federated.bug_17377_table;
 
1610
create table federated.t1 (i1 int, i2 int, i3 int);
 
1611
create table federated.t2 (id int, c1 varchar(20), c2 varchar(20));
 
1612
create table federated.t1 (i1 int, i2 int, i3 int) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1613
create table federated.t2 (id int, c1 varchar(20), c2 varchar(20)) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t2';
 
1614
insert into federated.t1 values (1,5,10),(3,7,12),(4,5,2),(9,10,15),(2,2,2);
 
1615
insert into federated.t2 values (9,"abc","def"),(5,"opq","lmn"),(2,"test t","t test");
 
1616
select * from federated.t1 order by i1;
 
1617
i1      i2      i3
 
1618
1       5       10
 
1619
2       2       2
 
1620
3       7       12
 
1621
4       5       2
 
1622
9       10      15
 
1623
select * from federated.t2;
 
1624
id      c1      c2
 
1625
9       abc     def
 
1626
5       opq     lmn
 
1627
2       test t  t test
 
1628
update federated.t1,federated.t2 set t1.i2=15, t2.c2="ppc" where t1.i1=t2.id;
 
1629
select * from federated.t1 order by i1;
 
1630
i1      i2      i3
 
1631
1       5       10
 
1632
2       15      2
 
1633
3       7       12
 
1634
4       5       2
 
1635
9       15      15
 
1636
select * from federated.t2 order by id;
 
1637
id      c1      c2
 
1638
2       test t  ppc
 
1639
5       opq     lmn
 
1640
9       abc     ppc
 
1641
delete   federated.t1.*,federated.t2.* from federated.t1,federated.t2 where t1.i2=t2.id;
 
1642
select * from federated.t1 order by i1;
 
1643
i1      i2      i3
 
1644
2       15      2
 
1645
3       7       12
 
1646
9       15      15
 
1647
select * from federated.t2 order by id;
 
1648
id      c1      c2
 
1649
2       test t  ppc
 
1650
9       abc     ppc
 
1651
drop table federated.t1, federated.t2;
 
1652
drop table federated.t1, federated.t2;
 
1653
create table federated.t1 (i1 int, i2 int, i3 int, primary key (i1));
 
1654
create table federated.t2 (id int, c1 varchar(20), c2 varchar(20), primary key (id));
 
1655
create table federated.t1 (i1 int auto_increment not null, i2 int, i3 int, primary key (i1)) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1656
create table federated.t2 (id int auto_increment not null, c1 varchar(20), c2 varchar(20), primary key(id)) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t2';
 
1657
insert into federated.t1 values (1,5,10),(3,7,12),(4,5,2),(9,10,15),(2,2,2);
 
1658
insert into federated.t2 values (9,"abc","def"),(5,"opq","lmn"),(2,"test t","t test");
 
1659
select * from federated.t1 order by i1;
 
1660
i1      i2      i3
 
1661
1       5       10
 
1662
2       2       2
 
1663
3       7       12
 
1664
4       5       2
 
1665
9       10      15
 
1666
select * from federated.t2 order by id;
 
1667
id      c1      c2
 
1668
2       test t  t test
 
1669
5       opq     lmn
 
1670
9       abc     def
 
1671
update federated.t1,federated.t2 set t1.i2=15, t2.c2="ppc" where t1.i1=t2.id;
 
1672
select * from federated.t1 order by i1;
 
1673
i1      i2      i3
 
1674
1       5       10
 
1675
2       15      2
 
1676
3       7       12
 
1677
4       5       2
 
1678
9       15      15
 
1679
select * from federated.t2 order by id;
 
1680
id      c1      c2
 
1681
2       test t  ppc
 
1682
5       opq     lmn
 
1683
9       abc     ppc
 
1684
delete federated.t1.*,federated.t2.* from federated.t1,federated.t2 where t1.i2=t2.id;
 
1685
select * from federated.t1 order by i1;
 
1686
i1      i2      i3
 
1687
2       15      2
 
1688
3       7       12
 
1689
9       15      15
 
1690
select * from federated.t2 order by id;
 
1691
id      c1      c2
 
1692
2       test t  ppc
 
1693
9       abc     ppc
 
1694
drop table federated.t1, federated.t2;
 
1695
drop table federated.t1, federated.t2;
 
1696
DROP TABLE IF EXISTS federated.test;
 
1697
CREATE TABLE federated.test (
 
1698
`id` int(11) NOT NULL,
 
1699
`val1` varchar(255) NOT NULL,
 
1700
`val2` varchar(255) NOT NULL,
 
1701
PRIMARY KEY  (`id`)
 
1702
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
1703
DROP TABLE IF EXISTS federated.test_local;
 
1704
DROP TABLE IF EXISTS federated.test_remote;
 
1705
CREATE TABLE federated.test_local (
 
1706
`id` int(11) NOT NULL,
 
1707
`val1` varchar(255) NOT NULL,
 
1708
`val2` varchar(255) NOT NULL,
 
1709
PRIMARY KEY  (`id`)
 
1710
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
1711
INSERT INTO federated.test_local VALUES (1, 'foo', 'bar'),
 
1712
(2, 'bar', 'foo');
 
1713
CREATE TABLE federated.test_remote (
 
1714
`id` int(11) NOT NULL,
 
1715
`val1` varchar(255) NOT NULL,
 
1716
`val2` varchar(255) NOT NULL,
 
1717
PRIMARY KEY  (`id`)
 
1718
) ENGINE=FEDERATED DEFAULT CHARSET=latin1
 
1719
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/test';
 
1720
insert into federated.test_remote select * from federated.test_local;
 
1721
select * from federated.test_remote;
 
1722
id      val1    val2
 
1723
1       foo     bar
 
1724
2       bar     foo
 
1725
delete from federated.test_remote where id in (1,2);
 
1726
insert into federated.test_remote select * from federated.test_local;
 
1727
select * from federated.test_remote;
 
1728
id      val1    val2
 
1729
2       bar     foo
 
1730
1       foo     bar
 
1731
DROP TABLE federated.test_local;
 
1732
DROP TABLE federated.test_remote;
 
1733
DROP TABLE federated.test;
 
1734
drop table if exists federated.t1;
 
1735
create table federated.t1 (a int, b int, c int);
 
1736
drop table if exists federated.t1;
 
1737
drop table if exists federated.t2;
 
1738
create table federated.t1 (a int,  b int, c int) engine=federated connection='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
1739
create trigger federated.t1_bi before insert on federated.t1 for each row set new.c= new.a * new.b;
 
1740
create table federated.t2 (a int, b int);
 
1741
insert into federated.t2 values (13, 17), (19, 23);
 
1742
insert into federated.t1 (a, b) values (1, 2), (3, 5), (7, 11);
 
1743
select * from federated.t1;
 
1744
a       b       c
 
1745
1       2       2
 
1746
3       5       15
 
1747
7       11      77
 
1748
delete from federated.t1;
 
1749
insert into federated.t1 (a, b) select * from federated.t2;
 
1750
select * from federated.t1;
 
1751
a       b       c
 
1752
13      17      221
 
1753
19      23      437
 
1754
delete from federated.t1;
 
1755
load data infile '../std_data_ln/loaddata5.dat' into table federated.t1 fields terminated by '' enclosed by '' ignore 1 lines (a, b);
 
1756
select * from federated.t1;
 
1757
a       b       c
 
1758
3       4       12
 
1759
5       6       30
 
1760
drop tables federated.t1, federated.t2;
 
1761
drop table federated.t1;
 
1762
create table t1 (id int not null auto_increment primary key, val int);
 
1763
create table t1
 
1764
(id int not null auto_increment primary key, val int) engine=federated
 
1765
connection='mysql://root@127.0.0.1:SLAVE_PORT/test/t1';
 
1766
insert into t1 values (1,0),(2,0);
 
1767
update t1 set val = NULL where id = 1;
 
1768
select * from t1;
 
1769
id      val
 
1770
1       NULL
 
1771
2       0
 
1772
select * from t1;
 
1773
id      val
 
1774
1       NULL
 
1775
2       0
 
1776
drop table t1;
 
1777
drop table t1;
 
1778
create table t1 (a longblob not null);
 
1779
create table t1
 
1780
(a longblob not null) engine=federated
 
1781
connection='mysql://root@127.0.0.1:SLAVE_PORT/test/t1';
 
1782
insert into t1 values (repeat('a',5000));
 
1783
select length(a) from t1;
 
1784
length(a)
 
1785
5000
 
1786
select length(a) from t1;
 
1787
length(a)
 
1788
5000
 
1789
drop table t1;
 
1790
drop table t1;
 
1791
DROP TABLE IF EXISTS federated.test;
 
1792
CREATE TABLE federated.test (
 
1793
`i` int(11) NOT NULL,
 
1794
`j` int(11) NOT NULL,
 
1795
`c` varchar(30) default NULL,
 
1796
PRIMARY KEY  (`i`,`j`),
 
1797
UNIQUE KEY `i` (`i`,`c`)
 
1798
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
 
1799
DROP TABLE IF EXISTS federated.test1;
 
1800
DROP TABLE IF EXISTS federated.test2;
 
1801
create table federated.test1 (
 
1802
i int not null,
 
1803
j int not null,
 
1804
c varchar(30),
 
1805
primary key (i,j),
 
1806
unique key (i, c))
 
1807
engine = federated
 
1808
connection='mysql://root@127.0.0.1:SLAVE_PORT/federated/test';
 
1809
create table federated.test2 (
 
1810
i int default null,
 
1811
j int not null,
 
1812
c varchar(30),
 
1813
key (i))
 
1814
engine = federated
 
1815
connection='mysql://root@127.0.0.1:SLAVE_PORT/federated/test';
 
1816
drop table federated.test1, federated.test2;
 
1817
drop table federated.test;
 
1818
DROP TABLE IF EXISTS federated.t1;
 
1819
DROP DATABASE IF EXISTS federated;
 
1820
DROP TABLE IF EXISTS federated.t1;
 
1821
DROP DATABASE IF EXISTS federated;