diff options
author | unknown <joerg@trift2.> | 2008-04-04 19:25:39 +0200 |
---|---|---|
committer | unknown <joerg@trift2.> | 2008-04-04 19:25:39 +0200 |
commit | b020868d87c272ea13949bc3a9f1f67975e0ce75 (patch) | |
tree | a5867eff7bde6dc0256aeeb2403ca65dda774a4d /mysql-test/suite | |
parent | d75f5765a94295302dfef14dc82d8eafe401b0fd (diff) | |
parent | 5e2b03ce9aa792177d2bec6ed1f09aef83de44e8 (diff) | |
download | mariadb-git-b020868d87c272ea13949bc3a9f1f67975e0ce75.tar.gz |
Merge trift2.:/MySQL/M51/clone-5.1
into trift2.:/MySQL/M51/tmp-5.1
Diffstat (limited to 'mysql-test/suite')
-rw-r--r-- | mysql-test/suite/rpl/t/rpl_insert.test | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mysql-test/suite/rpl/t/rpl_insert.test b/mysql-test/suite/rpl/t/rpl_insert.test index 504ca1809ad..00e814951d5 100644 --- a/mysql-test/suite/rpl/t/rpl_insert.test +++ b/mysql-test/suite/rpl/t/rpl_insert.test @@ -18,10 +18,13 @@ let $query = "INSERT DELAYED INTO t1 VALUES (1, 'Dr. No'), (2, 'From Russia With # Wait until all the 5000 inserts has been inserted into the table let $wait_condition= SELECT COUNT(*) = 5000 FROM mysqlslap.t1; ---source include/wait_condition.inc - +source include/wait_condition.inc; SELECT COUNT(*) FROM mysqlslap.t1; -sync_slave_with_master; + +connection slave; +# Wait until all the 5000 inserts has been inserted into the table +let $wait_condition= SELECT COUNT(*) = 5000 FROM mysqlslap.t1; +source include/wait_condition.inc; SELECT COUNT(*) FROM mysqlslap.t1; --echo # |