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
83adbfeb
Commit
83adbfeb
authored
Feb 26, 2010
by
Andrei Elkin
Browse files
Options
Browse Files
Download
Plain Diff
merging fixes of bug@51089 to 5.1-bt
parents
d1114834
a5430f45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mysql-test/suite/rpl/t/rpl_show_slave_running.test
mysql-test/suite/rpl/t/rpl_show_slave_running.test
+4
-4
No files found.
mysql-test/suite/rpl/t/rpl_show_slave_running.test
View file @
83adbfeb
...
...
@@ -22,7 +22,7 @@ SHOW STATUS LIKE 'Slave_running';
let
$status
=
query_get_value
(
"show slave status"
,
Slave_IO_Running
,
1
);
echo
Slave_IO_Running
=
$status
;
let
$status
=
query_get_value
(
"show slave status"
,
Slave_SQL_Running
,
1
);
echo
Slave_
IO
_Running
=
$status
;
echo
Slave_
SQL
_Running
=
$status
;
# Test 2. The slave IO thread is started but not yet got connected to master
# and SQL thread is not started
...
...
@@ -35,7 +35,7 @@ SHOW STATUS LIKE 'Slave_running';
let
$status
=
query_get_value
(
"show slave status"
,
Slave_IO_Running
,
1
);
echo
Slave_IO_Running
=
$status
;
let
$status
=
query_get_value
(
"show slave status"
,
Slave_SQL_Running
,
1
);
echo
Slave_
IO
_Running
=
$status
;
echo
Slave_
SQL
_Running
=
$status
;
# Test 3. The slave IO thread is started and got connected to master
# and SQL thread is still not started
...
...
@@ -51,7 +51,7 @@ SHOW STATUS LIKE 'Slave_running';
let
$status
=
query_get_value
(
"show slave status"
,
Slave_IO_Running
,
1
);
echo
Slave_IO_Running
=
$status
;
let
$status
=
query_get_value
(
"show slave status"
,
Slave_SQL_Running
,
1
);
echo
Slave_
IO
_Running
=
$status
;
echo
Slave_
SQL
_Running
=
$status
;
# Test 4. The slave IO thread is started and got connected to master
# and SQL thread is started
...
...
@@ -65,7 +65,7 @@ SHOW STATUS LIKE 'Slave_running';
let
$status
=
query_get_value
(
"show slave status"
,
Slave_IO_Running
,
1
);
echo
Slave_IO_Running
=
$status
;
let
$status
=
query_get_value
(
"show slave status"
,
Slave_SQL_Running
,
1
);
echo
Slave_
IO
_Running
=
$status
;
echo
Slave_
SQL
_Running
=
$status
;
# cleanup
...
...
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