mirror of
https://github.com/MariaDB/server.git
synced 2025-05-20 13:13:59 +03:00
client/mysqltest.c: --replace_result can now use variables mysql-test/r/rpl000014.result: Fix to use new replace mysql-test/r/rpl000015.result: Fix to use new replace mysql-test/r/rpl000016.result: Fix to use new replace mysql-test/r/rpl_log.result: Fix to use new replace mysql-test/t/join.test: Fix to use new replace mysql-test/t/rpl000014.test: Fix to use new replace mysql-test/t/rpl000015.test: Fix to use new replace mysql-test/t/rpl000016.test: Fix to use new replace mysql-test/t/rpl_log.test: Fix to use new replace readline/rltty.c: Add missing function
40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
slave stop;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
slave start;
|
|
show master status;
|
|
File Position Binlog_do_db Binlog_ignore_db
|
|
master-bin.001 79
|
|
show slave status;
|
|
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
|
|
127.0.0.1 root MASTER_PORT 1 master-bin.001 79 Yes 0 0 1
|
|
change master to master_log_pos=73;
|
|
slave stop;
|
|
change master to master_log_pos=73;
|
|
show slave status;
|
|
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
|
|
127.0.0.1 root MASTER_PORT 1 master-bin.001 73 No 0 0 1
|
|
slave start;
|
|
show slave status;
|
|
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
|
|
127.0.0.1 root MASTER_PORT 1 master-bin.001 73 Yes 0 0 1
|
|
change master to master_log_pos=173;
|
|
show slave status;
|
|
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
|
|
127.0.0.1 root MASTER_PORT 1 master-bin.001 173 Yes 0 0 1
|
|
show master status;
|
|
File Position Binlog_do_db Binlog_ignore_db
|
|
master-bin.001 79
|
|
create table if not exists foo(n int);
|
|
drop table if exists foo;
|
|
create table foo (n int);
|
|
insert into foo values (1),(2),(3);
|
|
change master to master_log_pos=79;
|
|
select * from foo;
|
|
n
|
|
1
|
|
2
|
|
3
|
|
drop table foo;
|