mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Portability fixes.
Improve mysql-test to be more robust. Fix that GRANT doesn't delete SSL options Change innobase_flush_log_at_trx_commit to uint. Don't rotate logs if we read a rotate log entry from the master.
This commit is contained in:
17
mysql-test/t/rpl_flush_log_loop.test
Normal file
17
mysql-test/t/rpl_flush_log_loop.test
Normal file
@ -0,0 +1,17 @@
|
||||
# Testing if "flush logs" command bouncing resulting in logs created in a loop
|
||||
# in case of bi-directional replication
|
||||
|
||||
source include/master-slave.inc
|
||||
|
||||
connection slave;
|
||||
eval change master to master_host='127.0.0.1',master_user='root',
|
||||
master_password='',master_port=$MASTER_MYPORT;
|
||||
slave start;
|
||||
connection master;
|
||||
slave stop;
|
||||
eval change master to master_host='127.0.0.1',master_user='root',
|
||||
master_password='',master_port=$SLAVE_MYPORT;
|
||||
slave start;
|
||||
flush logs;
|
||||
sleep 5;
|
||||
show slave status;
|
Reference in New Issue
Block a user