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
b2661dd3
Commit
b2661dd3
authored
Aug 03, 2007
by
gkodinov/kgeorge@magare.gmz
Browse files
Options
Browse Files
Download
Plain Diff
Merge magare.gmz:/home/kgeorge/mysql/work/B25228-5.0-opt
into magare.gmz:/home/kgeorge/mysql/work/B25228-5.1-opt
parents
ea0ad903
2bfbe2cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
mysql-test/suite/rpl/t/rpl_relayspace.test
mysql-test/suite/rpl/t/rpl_relayspace.test
+16
-0
No files found.
mysql-test/suite/rpl/t/rpl_relayspace.test
View file @
b2661dd3
...
...
@@ -14,6 +14,22 @@ connection slave;
reset
slave
;
start
slave
io_thread
;
# Give the I/O thread time to block.
let
$run
=
1
;
let
$counter
=
300
;
while
(
$run
)
{
let
$io_state
=
query_get_value
(
"SHOW SLAVE STATUS"
,
Slave_IO_State
,
1
);
if
(
`SELECT '$io_state' = 'Waiting for the slave SQL thread to free enough relay log space'`
){
let
$run
=
0
;
}
sleep
0.1
;
if
(
!
$counter
){
--
echo
"Failed while waiting for slave IO thread block"
SHOW
SLAVE
STATUS
;
exit
;
}
dec
$counter
;
}
sleep
2
;
# A bug caused the I/O thread to refuse stopping.
stop
slave
io_thread
;
...
...
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