Debian Codegraph @

mysql-test/suite/rpl/r/rpl_stm_ignore.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 "Test case1"
7 [connection master]
8 CREATE DATABASE db_a;
9 CREATE DATABASE db_b;
10 include/sync_slave_sql_with_master.inc
11 FLUSH LOCAL RELAY LOGS;
12 [connection master]
13 USE db_b;
14 CREATE VIEW view_b AS SELECT NULL;
15 include/sync_slave_sql_with_master.inc
16 [connection master]
17 CREATE VIEW view_b AS SELECT NULL;
18 ERROR 42S01: Table 'view_b' already exists
19 include/show_binlog_events.inc
20 Log_name Pos Event_type Server_id End_log_pos Info
21 master-bin.000001 # Query # # CREATE DATABASE db_a
22 master-bin.000001 # Query # # CREATE DATABASE db_b
23 master-bin.000001 # Query # # use `db_b`; CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_b` AS SELECT NULL
24 include/sync_slave_sql_with_master.inc
25 include/show_relaylog_events.inc
26 Log_name Pos Event_type Server_id End_log_pos Info
27 slave-relay-bin.000003 # Format_desc # # SERVER_VERSION, BINLOG_VERSION
28 slave-relay-bin.000003 # Query # # use `db_b`; CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_b` AS SELECT NULL
29 EXPLAIN view_b;
30 ERROR 42S02: Table 'test.view_b' doesn't exist
31 [connection master]
32 DROP DATABASE db_a;
33 DROP DATABASE db_b;
34 include/sync_slave_sql_with_master.inc
35 include/rpl_reset.inc
36 "Test case2"
37 [connection master]
38 CREATE DATABASE db_a;
39 CREATE DATABASE db_b;
40 include/sync_slave_sql_with_master.inc
41 [connection master]
42 USE db_b;
43 CREATE TABLE t2 (f INT PRIMARY KEY) ENGINE=MYISAM;
44 INSERT INTO t2 VALUES (1);
45 INSERT INTO t2 VALUES (2);
46 INSERT INTO t2 VALUES (3);
47 INSERT INTO t2 VALUES (5);
48 include/sync_slave_sql_with_master.inc
49 [connection master]
50 UPDATE t2 SET f=f+2 WHERE f>=2;
51 ERROR 23000: Duplicate entry '5' for key 't2.PRIMARY'
52 include/sync_slave_sql_with_master.inc
53 [connection master]
54 DROP DATABASE db_a;
55 DROP DATABASE db_b;
56 include/sync_slave_sql_with_master.inc
57 include/rpl_end.inc