Make CompareResults.t stable--yet another case of not waiting for replication.

This commit is contained in:
Daniel Nichter
2012-10-20 20:18:55 -06:00
parent 4a494d1a20
commit 046c4c7cc0

View File

@@ -642,6 +642,7 @@ $dbh1->do('update test.t3 set f=0 where 1');
$dbh1->do('SET SQL_LOG_BIN=0');
$dbh1->do('insert into test.t3 values (2.0),(3.0)');
$dbh1->do('SET SQL_LOG_BIN=1');
$sb->wait_for_slaves();
my $left_n_rows = $dbh1->selectcol_arrayref('select count(*) from test.t3')->[0];
my $right_n_rows = $dbh2->selectcol_arrayref('select count(*) from test.t3')->[0];