Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9c2bf066
Commit
9c2bf066
authored
Mar 22, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed to real_sleep
parent
e03b3b7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mysql-test/include/wait_slave_status.inc
mysql-test/include/wait_slave_status.inc
+3
-3
No files found.
mysql-test/include/wait_slave_status.inc
View file @
9c2bf066
...
...
@@ -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
=
3
0
;
# We accept to wait
maximum 30 seconds (0.2 sec/loop)
.
let
$max_wait
=
15
0
;
while
(
$max_wait
)
{
let
$my_val
=
`SHOW SLAVE STATUS`
;
...
...
@@ -134,7 +134,7 @@ while ($max_wait)
{
# 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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment