Below is the list of changes that have just been committed into a local
5.1 repository of lthalmann. When lthalmann does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2207 06/03/22 17:19:22 lars@stripped +1 -0
Changed to real_sleep
mysql-test/include/wait_slave_status.inc
1.2 06/03/22 17:19:10 lars@stripped +3 -3
Changed to real_sleep
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: lars
# Host: dl145j.mysql.com
# Root: /users/lthalmann/bk/mysql-5.1-new
--- 1.1/mysql-test/include/wait_slave_status.inc 2006-03-21 17:30:23 +01:00
+++ 1.2/mysql-test/include/wait_slave_status.inc 2006-03-22 17:19:10 +01:00
@@ -104,8 +104,8 @@
eval SELECT "let \$result_pattern= $result_pattern ;" AS "";
SELECT '--source include/wait_slave_status.inc' AS "";
-# We accept to wait in maximum 30 seconds.
-let $max_wait= 30;
+# We accept to wait maximum 30 seconds (0.2 sec/loop).
+let $max_wait= 150;
while ($max_wait)
{
let $my_val= `SHOW SLAVE STATUS`;
@@ -134,7 +134,7 @@
{
# We did not reach the expected result and will have to sleep again
# or jump out of the loop, when max_wait is exhausted.
- sleep 1;
+ real_sleep 0.2;
}
dec $max_wait;
}
| Thread |
|---|
| • bk commit into 5.1 tree (lars:1.2207) | Lars Thalmann | 22 Mar |