summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000013.test
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-01-17 05:47:33 -0700
committersasha@mysql.sashanet.com <>2001-01-17 05:47:33 -0700
commitd0f4235a2efc4a31456c7ec6a6e4e32d830724bd (patch)
tree6d77ea3fb9cae4b29069ce7d9ad832a29cd4e0b3 /mysql-test/t/rpl000013.test
parent1d25808fba138004572a8b11141540781300bd64 (diff)
downloadmariadb-git-d0f4235a2efc4a31456c7ec6a6e4e32d830724bd.tar.gz
rpl000016.test sync
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
Diffstat (limited to 'mysql-test/t/rpl000013.test')
-rw-r--r--mysql-test/t/rpl000013.test20
1 files changed, 11 insertions, 9 deletions
diff --git a/mysql-test/t/rpl000013.test b/mysql-test/t/rpl000013.test
index 4d4dc3f491a..f5056839791 100644
--- a/mysql-test/t/rpl000013.test
+++ b/mysql-test/t/rpl000013.test
@@ -1,5 +1,9 @@
source include/master-slave.inc;
connection master;
+save_master_pos;
+connection slave;
+sync_with_master;
+connection master;
drop table if exists t2;
create table t2(n int);
create temporary table t1 (n int);
@@ -12,21 +16,19 @@ insert into t2 select * from t1;
disconnect master;
connection master1;
insert into t2 values(6);
-sleep 2;
disconnect master1;
+connect (master2,localhost,root,,test,0,mysql-master.sock);
+connection master2;
+save_master_pos;
connection slave;
-let $1=12;
-while ($1)
-{
- !slave start;
- sleep 0.2;
- dec $1;
-}
+sync_with_master;
@r/rpl000013.result select * from t2;
@r/rpl000013.status.result show status like 'Slave_open_temp_tables';
#
# Clean up
#
-connect (master2,localhost,root,,test,0,mysql-master.sock);
connection master2;
drop table if exists t1,t2;
+save_master_pos;
+connection slave;
+sync_with_master;