Commit 478caeb4 authored by unknown's avatar unknown

sleep instead of system sleep

parent 7c3ae8a8
...@@ -40,7 +40,7 @@ start slave; ...@@ -40,7 +40,7 @@ start slave;
# Usually it stops when the SQL thread is around the 15th relay log. # Usually it stops when the SQL thread is around the 15th relay log.
# We cannot use MASTER_POS_WAIT() as master's position # We cannot use MASTER_POS_WAIT() as master's position
# increases only when the slave executes the COMMIT. # increases only when the slave executes the COMMIT.
system sleep 1; sleep 1;
stop slave; stop slave;
# We suppose the SQL thread stopped before COMMIT. # We suppose the SQL thread stopped before COMMIT.
# If so the transaction was rolled back # If so the transaction was rolled back
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment