mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
d0f4235a2e
rpl000001.result BitKeeper file /home/sasha/src/bk/mysql/mysql-test/r/rpl000001.result ignore Added BitKeeper/tmp/bkr3sAHD to the ignore list slave.h MASTER_POS_WAIT lex.h MASTER_POS_WAIT slave.cc MASTER_POS_WAIT, do automagic restart on debugging abort, skip rotate events in slave.cc debug abort count sql_repl.cc announce the log name at the start of the log with a fake rotate event item_create.h MASTER_POS_WAIT item_func.cc MASTER_POS_WAIT item_func.h MASTER_POS_WAIT sql_class.h enter_cond(), exit_cond() helper inliners item_create.cc added MASTER_POS_WAIT mysql-test-run.sh speed improvement fixes rpl000007.test sync rpl000003.test sleep -> sync rpl000004.test sleep -> sync, fixed clean up bug rpl000014.test sync rpl000009.test sync rpl000013.test sync rpl000001.test sleep -> sync rpl000008.test sync rpl000006.test sync on cleanup rpl000011.test sync rpl000012.test sync rpl000005.test sleep -> sync rpl000010.test sync rpl000015.test sync rpl000002.test sleep -> sync rpl000014.result we now know the master log name as soon as we connect mysql.cc added optional agrument to --wait mysqltest.c added save_master_pos and sync_with_master commands
26 lines
721 B
Text
26 lines
721 B
Text
source include/master-slave.inc;
|
|
connection master;
|
|
use test;
|
|
set SQL_LOG_BIN=0;
|
|
drop table if exists t1;
|
|
create table t1 (word char(20) not null, index(word));
|
|
load data infile '../../std_data/words.dat' into table t1;
|
|
drop table if exists t2;
|
|
create table t2 (word char(20) not null);
|
|
load data infile '../../std_data/words.dat' into table t2;
|
|
connection slave;
|
|
use test;
|
|
drop table if exists t1;
|
|
load table t1 from master;
|
|
drop table if exists t2;
|
|
load table t2 from master;
|
|
@r/rpl000004.a.result check table t1;
|
|
@r/rpl000004.b.result select count(*) from t2;
|
|
connection master;
|
|
set SQL_LOG_BIN=1;
|
|
drop table if exists t1,t2;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
create table t1(n int);
|
|
drop table t1;
|