~ubuntu-branches/ubuntu/karmic/mysql-dfsg-5.1/karmic

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_row_inexist_tbl.result

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-06-25 12:55:45 UTC
  • mfrom: (0.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20090625125545-v27uqh8rlsj8uh2y
Tags: upstream-5.1.34
ImportĀ upstreamĀ versionĀ 5.1.34

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
reset slave;
5
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
6
6
start slave;
7
 
create table t1 (a int not null primary key);
8
 
insert into  t1 values (1);
9
 
create table t2 (a int);
10
 
insert into  t2 values (1);
11
 
update t1, t2 set t1.a = 0 where t1.a = t2.a;
12
 
show tables;
13
 
Tables_in_test
14
 
t1
15
 
select * from t1;
16
 
a
17
 
0
18
 
drop table t1;
19
 
insert into t1 values (1);
20
 
SHOW SLAVE STATUS;
21
 
Slave_IO_State  #
22
 
Master_Host     127.0.0.1
23
 
Master_User     root
24
 
Master_Port     MASTER_PORT
25
 
Connect_Retry   1
26
 
Master_Log_File master-bin.000001
27
 
Read_Master_Log_Pos     1153
28
 
Relay_Log_File  #
29
 
Relay_Log_Pos   #
30
 
Relay_Master_Log_File   master-bin.000001
31
 
Slave_IO_Running        Yes
32
 
Slave_SQL_Running       No
33
 
Replicate_Do_DB 
34
 
Replicate_Ignore_DB     
35
 
Replicate_Do_Table      
36
 
Replicate_Ignore_Table  #
37
 
Replicate_Wild_Do_Table 
38
 
Replicate_Wild_Ignore_Table     
39
 
Last_Errno      1146
40
 
Last_Error      Error 'Table 'test.t1' doesn't exist' on opening tables
41
 
Skip_Counter    0
42
 
Exec_Master_Log_Pos     941
43
 
Relay_Log_Space #
44
 
Until_Condition None
45
 
Until_Log_File  
46
 
Until_Log_Pos   0
47
 
Master_SSL_Allowed      No
48
 
Master_SSL_CA_File      
49
 
Master_SSL_CA_Path      
50
 
Master_SSL_Cert 
51
 
Master_SSL_Cipher       
52
 
Master_SSL_Key  
53
 
Seconds_Behind_Master   #
54
 
Master_SSL_Verify_Server_Cert   No
55
 
Last_IO_Errno   #
56
 
Last_IO_Error   #
57
 
Last_SQL_Errno  1146
58
 
Last_SQL_Error  Error 'Table 'test.t1' doesn't exist' on opening tables
59
 
drop table t1, t2;
 
7
==== Setup table on master but not on slave ====
 
8
[on master]
 
9
CREATE TABLE t1 (a INT);
 
10
[on slave]
 
11
DROP TABLE t1;
 
12
==== Modify table on master ====
 
13
[on master]
 
14
INSERT INTO t1 VALUES (1);
 
15
==== Verify error on slave ====
 
16
[on slave]
 
17
Last_SQL_Error = Error 'Table 'test.t1' doesn't exist' on opening tables
 
18
==== Clean up ====
 
19
include/stop_slave.inc
 
20
[on master]
 
21
DROP TABLE t1;