~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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.bug_13118_table;
 
13
CREATE TABLE federated.t1 (
 
14
`id` int auto_increment primary key, 
 
15
`value` int
 
16
) ENGINE=MyISAM;
 
17
INSERT INTO federated.t1 SET value=1;
 
18
INSERT INTO federated.t1 SET value=2;
 
19
INSERT INTO federated.t1 SET value=2;
 
20
DROP TABLE IF EXISTS federated.t1;
 
21
CREATE TABLE federated.t1 (
 
22
`id` int auto_increment primary key, 
 
23
`value` int
 
24
) ENGINE=FEDERATED
 
25
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
 
26
SELECT * from federated.t1;
 
27
id      value
 
28
1       1
 
29
2       2
 
30
3       2
 
31
INSERT INTO federated.t1 SET value=4;
 
32
SELECT LAST_INSERT_ID();
 
33
LAST_INSERT_ID()
 
34
4
 
35
 
 
36
5 inserted
 
37
6 inserted
 
38
 
 
39
7 inserted
 
40
8 inserted
 
41
SELECT * from federated.t1;
 
42
id      value
 
43
1       1
 
44
2       2
 
45
3       2
 
46
4       4
 
47
5       54
 
48
6       55
 
49
7       54
 
50
8       55
 
51
DROP TABLE federated.t1;
 
52
DROP TABLE federated.t1;
 
53
DROP TABLE IF EXISTS federated.t1;
 
54
DROP DATABASE IF EXISTS federated;
 
55
DROP TABLE IF EXISTS federated.t1;
 
56
DROP DATABASE IF EXISTS federated;