mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
4a7af05c7f
BitKeeper/deleted/.del-compile-ia64-O0-sgicc~a4e0732013d6b602: Delete: BUILD/compile-ia64-O0-sgicc BitKeeper/deleted/.del-compile-ia64-O0~3a41dfebefc817d1: Delete: BUILD/compile-ia64-O0 BitKeeper/deleted/.del-compile-ia64-O2-sgicc~6ff796ecac337849: Delete: BUILD/compile-ia64-O2-sgicc BitKeeper/deleted/.del-compile-ia64-O2~87d13594c3599830: Delete: BUILD/compile-ia64-O2 BitKeeper/deleted/.del-compile-ia64-O6~c34e6b943b12c468: Delete: BUILD/compile-ia64-O6 Docs/manual.texi: Cleanup mysql-test/r/rpl000014.result: Change port number for comparison mysql-test/r/rpl000015.result: Change port number for comparison mysql-test/r/rpl000016.result: Change port number for comparison mysql-test/t/rpl000014.test: Change port number for comparison mysql-test/t/rpl000015.test: Change port number for comparison mysql-test/t/rpl000016.test: Change port number for comparison sql-bench/Results/ATIS-mysql-NT_4.0: New test results sql-bench/Results/RUN-mysql-NT_4.0: New test results sql-bench/Results/alter-table-mysql-NT_4.0: New test results sql-bench/Results/big-tables-mysql-NT_4.0: New test results sql-bench/Results/connect-mysql-NT_4.0: New test results sql-bench/Results/create-mysql-NT_4.0: New test results sql-bench/Results/insert-mysql-NT_4.0: New test results sql-bench/Results/select-mysql-NT_4.0: New test results sql-bench/Results/wisconsin-mysql-NT_4.0: New test results sql/slave.cc: Removed not used variable
35 lines
885 B
Text
35 lines
885 B
Text
source include/master-slave.inc;
|
|
connection master;
|
|
show master status;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
--replace_result 9306 9999 3334 9999 3335 9999
|
|
show slave status;
|
|
change master to master_log_pos=73;
|
|
slave stop;
|
|
change master to master_log_pos=73;
|
|
--replace_result 9306 9999 3334 9999 3335 9999
|
|
show slave status;
|
|
slave start;
|
|
--replace_result 9306 9999 3334 9999 3335 9999
|
|
show slave status;
|
|
change master to master_log_pos=173;
|
|
--replace_result 9306 9999 3334 9999 3335 9999
|
|
show slave status;
|
|
connection master;
|
|
show master status;
|
|
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);
|
|
save_master_pos;
|
|
connection slave;
|
|
change master to master_log_pos=73;
|
|
sync_with_master;
|
|
select * from foo;
|
|
connection master;
|
|
drop table foo;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|