| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
connection master; |
| 4 |
create table t1 (a int); |
| 5 |
connection slave; |
| 6 |
connection slave; |
| 7 |
SET @saved_dbug = @@GLOBAL.debug_dbug; |
| 8 |
set global debug_dbug='d,rows_log_event_before_open_table'; |
| 9 |
connection master; |
| 10 |
insert t1 values (1),(2),(3); |
| 11 |
connection slave; |
| 12 |
set debug_sync='now WAIT_FOR before_open_table'; |
| 13 |
kill slave_sql_thread; |
| 14 |
set debug_sync='now SIGNAL go_ahead_sql'; |
| 15 |
include/wait_for_slave_sql_error.inc [errno=1927] |
| 16 |
Last_SQL_Error = Error executing row event: 'Connection was killed' |
| 17 |
SET @@GLOBAL.debug_dbug = @saved_dbug; |
| 18 |
set debug_sync='RESET'; |
| 19 |
connection master; |
| 20 |
drop table t1; |
| 21 |
connection slave; |
| 22 |
include/start_slave.inc |
| 23 |
Last_SQL_Error = |
| 24 |
include/rpl_end.inc |