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
f38dff98
Commit
f38dff98
authored
May 11, 2011
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
BUG#12416700
Automerged bzr bundle from bug report into latest mysql-5.5.
parents
d4f1d04f
b2ec8249
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
+18
-5
mysql-test/include/wait_show_condition.inc
mysql-test/include/wait_show_condition.inc
+15
-0
mysql-test/suite/rpl/r/rpl_show_slave_hosts.result
mysql-test/suite/rpl/r/rpl_show_slave_hosts.result
+1
-2
mysql-test/suite/rpl/t/rpl_show_slave_hosts.test
mysql-test/suite/rpl/t/rpl_show_slave_hosts.test
+2
-3
No files found.
mysql-test/include/wait_show_condition.inc
View file @
f38dff98
...
...
@@ -31,6 +31,21 @@
# Created: 2009-02-18 mleich
#
if
(
!
$condition
)
{
--
die
ERROR
IN
TEST
:
the
"condition"
variable
must
be
set
}
if
(
!
$field
)
{
--
die
ERROR
IN
TEST
:
the
"field"
variable
must
be
set
}
if
(
!
$show_statement
)
{
--
die
ERROR
IN
TEST
:
the
"show_statement"
variable
must
be
set
}
let
$max_run_time
=
30
;
if
(
$wait_timeout
)
{
...
...
mysql-test/suite/rpl/r/rpl_show_slave_hosts.result
View file @
f38dff98
...
...
@@ -8,8 +8,7 @@ SHOW SLAVE HOSTS;
Server_id Host Port Master_id
3 slave2 DEFAULT_PORT 1
2 SLAVE_PORT 1
STOP SLAVE IO_THREAD;
include/wait_for_slave_io_to_stop.inc
include/stop_slave_io.inc
SHOW SLAVE HOSTS;
Server_id Host Port Master_id
2 SLAVE_PORT 1
...
...
mysql-test/suite/rpl/t/rpl_show_slave_hosts.test
View file @
f38dff98
...
...
@@ -23,14 +23,13 @@ connection master;
let
$show_statement
=
SHOW
SLAVE
HOSTS
;
let
$field
=
Server_id
;
# 3 is server_id of slave2.
let
$con
nec
tion
=
=
'3'
;
let
$con
di
tion
=
=
'3'
;
source
include
/
wait_show_condition
.
inc
;
--
replace_result
$SLAVE_MYPORT
SLAVE_PORT
$DEFAULT_MASTER_PORT
DEFAULT_PORT
SHOW
SLAVE
HOSTS
;
connection
slave2
;
STOP
SLAVE
IO_THREAD
;
source
include
/
wait_for_slave_io_to_stop
.
inc
;
--
source
include
/
stop_slave_io
.
inc
connection
master
;
let
$show_statement
=
SHOW
SLAVE
HOSTS
;
...
...
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