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
c78dad15
Commit
c78dad15
authored
Sep 18, 2009
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applied the fix for bug #46931 from mysql-5.1 main trunk
to fix a failure in rpl_get_master_version_and_clock.test
parent
f974f10c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
mysql-test/extra/rpl_tests/rpl_get_master_version_and_clock.test
...est/extra/rpl_tests/rpl_get_master_version_and_clock.test
+11
-1
mysql-test/suite/rpl/r/rpl_get_master_version_and_clock.result
...-test/suite/rpl/r/rpl_get_master_version_and_clock.result
+4
-2
No files found.
mysql-test/extra/rpl_tests/rpl_get_master_version_and_clock.test
View file @
c78dad15
...
...
@@ -41,7 +41,17 @@ eval SELECT RELEASE_LOCK($debug_lock);
connection
slave
;
source
include
/
wait_for_slave_io_error
.
inc
;
let
$last_io_errno
=
query_get_value
(
"show slave status"
,
Last_IO_Errno
,
1
);
echo
Slave_IO_Errno
=
$last_io_errno
;
--
echo
Check
network
error
happened
here
if
(
`SELECT '$last_io_errno' = '2013' || # CR_SERVER_LOST
'$last_io_errno' = '2003' || # CR_CONN_HOST_ERROR
'$last_io_errno' = '2002' || # CR_CONNECTION_ERROR
'$last_io_errno' = '2006' || # CR_SERVER_GONE_ERROR
'$last_io_errno' = '1040' || # ER_CON_COUNT_ERROR
'$last_io_errno' = '1053' # ER_SERVER_SHUTDOWN
`
)
{
--
echo
NETWORK
ERROR
}
# Write file to make mysql-test-run.pl start up the server again
--
append_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
...
...
mysql-test/suite/rpl/r/rpl_get_master_version_and_clock.result
View file @
c78dad15
...
...
@@ -16,7 +16,8 @@ start slave;
SELECT RELEASE_LOCK("debug_lock.before_get_UNIX_TIMESTAMP");
RELEASE_LOCK("debug_lock.before_get_UNIX_TIMESTAMP")
1
Slave_IO_Errno= 2013
Check network error happened here
NETWORK ERROR
SELECT IS_FREE_LOCK("debug_lock.before_get_SERVER_ID");
IS_FREE_LOCK("debug_lock.before_get_SERVER_ID")
1
...
...
@@ -29,7 +30,8 @@ start slave;
SELECT RELEASE_LOCK("debug_lock.before_get_SERVER_ID");
RELEASE_LOCK("debug_lock.before_get_SERVER_ID")
1
Slave_IO_Errno= 2013
Check network error happened here
NETWORK ERROR
set global debug= '';
reset master;
include/stop_slave.inc
...
...
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