mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
sleep instead of system sleep
This commit is contained in:
parent
7c3ae8a8f3
commit
478caeb478
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ start slave;
|
|||
# Usually it stops when the SQL thread is around the 15th relay log.
|
||||
# We cannot use MASTER_POS_WAIT() as master's position
|
||||
# increases only when the slave executes the COMMIT.
|
||||
system sleep 1;
|
||||
sleep 1;
|
||||
stop slave;
|
||||
# We suppose the SQL thread stopped before COMMIT.
|
||||
# If so the transaction was rolled back
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue