mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
bb66c80aeb
added support for quiet increased line buffer size client/mysqltest.c fixed memory leak added query logging to result file added error message logging to result file added enable_query_log/disable_query_log mysql-test/mysql-test-run.sh converted tests to use mysqlmanager Updated test results
39 lines
1.5 KiB
Text
39 lines
1.5 KiB
Text
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 9999 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 9999 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 9999 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 9999 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;
|