Debian Codegraph @

mysql-test/suite/rpl/r/rpl_row_slave_skip_error_all.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 TABLE t (name VARCHAR(25) DEFAULT NULL) ENGINE=InnoDB;
7 include/sync_slave_sql_with_master.inc
8 call mtr.add_suppression("Replica SQL.*Error executing row event: .Table .test.t. doesn.t exist., Error_code: MY-001146");
9 call mtr.add_suppression("Replica SQL.*Column 0 of table .test.t. cannot be converted from type.* Error_code: MY-013146");
10 call mtr.add_suppression("The replica coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
11 call mtr.add_suppression("Got error 149 - .Lock deadlock; Retry transaction. during COMMIT");
12 ALTER TABLE t CHANGE name name VARCHAR(255);
13 [connection master]
14 INSERT INTO t VALUE ('Amy');
15 # Sync should be successful. Slave should not stop with an error
16 # ER_REPLICA_CONVERSION_FAILED. It should be up and running in spite
17 # of errors as we have set slave_skip_error=all.
18 include/sync_slave_sql_with_master.inc
19 DROP TABLE t;
20 [connection master]
21 UPDATE t SET name='New';
22 # Sync should be successful. Slave should not stop with an error
23 # ER_NO_SUCH_TABLE. It should be up and running in spite of errors
24 # as we have set slave_skip_error=all.
25 include/sync_slave_sql_with_master.inc
26 # Enable a debug point to simulate failure during rows event cleanup.
27 # Adding debug point 'simulate_rows_event_cleanup_failure' to @@GLOBAL.debug
28 [connection master]
29 UPDATE t SET name='Old';
30 [connection slave]
31 # Since this is not an ignored error slave should stop. We only ignore the
32 # errors that are generated during the execution of an event. The other errors
33 # that are generated during commit/rollback failure, which takes place during cleanup
34 # cannot be ignored.
35 include/wait_for_slave_sql_error.inc [errno=1180]
36 include/assert_grep.inc [Found 2 warning in the error log]
37 ==== Clean up ====
38 # Removing debug point 'simulate_rows_event_cleanup_failure' from @@GLOBAL.debug
39 include/stop_slave_io.inc
40 RESET MASTER;
41 RESET SLAVE;
42 Warnings:
43 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
44 include/start_slave.inc
45 [connection master]
46 include/sync_slave_sql_with_master.inc
47 [connection master]
48 DROP TABLE t;
49 include/rpl_end.inc