Debian Codegraph @

mysql-test/suite/rpl/r/rpl_stm_no_op.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 create database mysqltest;
7 drop database if exists mysqltest;
8 Warnings:
9 Note 1008 Can't drop database 'mysqltest'; database doesn't exist
10 include/sync_slave_sql_with_master.inc
11 show tables from mysqltest;
12 ERROR 42000: Unknown database 'mysqltest'
13 create table t1 (a int);
14 drop table if exists t1;
15 Warnings:
16 Note 1051 Unknown table 'test.t1'
17 include/sync_slave_sql_with_master.inc
18 select * from t1;
19 ERROR 42S02: Table 'test.t1' doesn't exist
20 create table t1 (a int, b int);
21 include/sync_slave_sql_with_master.inc
22 insert into t1 values(1,1);
23 delete from t1;
24 include/sync_slave_sql_with_master.inc
25 select * from t1;
26 a b
27 insert into t1 values(1,1);
28 insert into t1 values(2,1);
29 update t1 set a=2;
30 include/sync_slave_sql_with_master.inc
31 select * from t1;
32 a b
33 2 1
34 2 1
35 create table t2 (a int, b int);
36 delete from t1;
37 insert into t1 values(1,1);
38 insert into t2 values(1,1);
39 include/sync_slave_sql_with_master.inc
40 update t1 set a=2;
41 UPDATE t1, t2 SET t1.a = t2.a;
42 include/sync_slave_sql_with_master.inc
43 select * from t1;
44 a b
45 1 1
46 select * from t2;
47 a b
48 1 1
49 delete from t1;
50 delete from t2;
51 include/sync_slave_sql_with_master.inc
52 insert into t1 values(1,1);
53 insert into t2 values(1,1);
54 DELETE t1.*, t2.* from t1, t2;
55 include/sync_slave_sql_with_master.inc
56 select * from t1;
57 a b
58 select * from t2;
59 a b
60 drop table t1, t2;
61 include/sync_slave_sql_with_master.inc
62 include/rpl_end.inc