| 1 |
################################################################################ |
| 2 |
# Please, check ./include/rpl_start_stop_slave.test |
| 3 |
################################################################################ |
| 4 |
--source include/have_binlog_format_statement.inc |
| 5 |
--source include/have_innodb.inc |
| 6 |
--source include/master-slave.inc |
| 7 |
|
| 8 |
# make innodb updates run fast |
| 9 |
--connection slave |
| 10 |
SET @old_innodb_flush_log_at_trx_commit= @@global.innodb_flush_log_at_trx_commit; |
| 11 |
SET @@global.innodb_flush_log_at_trx_commit= 0; |
| 12 |
--connection master |
| 13 |
SET @old_innodb_flush_log_at_trx_commit= @@global.innodb_flush_log_at_trx_commit; |
| 14 |
SET @@global.innodb_flush_log_at_trx_commit= 0; |
| 15 |
|
| 16 |
SET @@session.binlog_direct_non_transactional_updates= FALSE; |
| 17 |
--source ./include/rpl_start_stop_slave.test |
| 18 |
|
| 19 |
# clean up |
| 20 |
--connection slave |
| 21 |
SET @@global.innodb_flush_log_at_trx_commit= @old_innodb_flush_log_at_trx_commit; |
| 22 |
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group"); |
| 23 |
--connection master |
| 24 |
SET @@global.innodb_flush_log_at_trx_commit= @old_innodb_flush_log_at_trx_commit; |
| 25 |
--let $rpl_only_running_threads= 1 |
| 26 |
--source include/rpl_end.inc |