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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
9dbc6eac
Commit
9dbc6eac
authored
Mar 22, 2006
by
lars@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed to real_sleep
parent
a8ba8a30
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 @
9dbc6eac
...
...
@@ -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