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
683edc65
Commit
683edc65
authored
Sep 12, 2005
by
lars@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverted old fix with sync_slave_with_master and added a replace commands
to eliminate nondeterminism in slave start
parent
e5503c27
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mysql-test/r/rpl_slave_status.result
mysql-test/r/rpl_slave_status.result
+1
-1
mysql-test/t/rpl_slave_status.test
mysql-test/t/rpl_slave_status.test
+3
-2
No files found.
mysql-test/r/rpl_slave_status.result
View file @
683edc65
...
...
@@ -19,7 +19,7 @@ flush privileges;
stop slave;
start slave;
show slave status;
Slave_IO_State
Connecting to master
Slave_IO_State
#
Master_Host 127.0.0.1
Master_User rpl
Master_Port MASTER_MYPORT
...
...
mysql-test/t/rpl_slave_status.test
View file @
683edc65
...
...
@@ -19,12 +19,13 @@ select * from t1;
connection
master
;
delete
from
mysql
.
user
where
user
=
'rpl'
;
flush
privileges
;
sync_slave_with_master
;
connection
slave
;
stop
slave
;
start
slave
;
--
replace_result
$MASTER_MYPORT
MASTER_MYPORT
--
replace_column
7
# 8 # 9 # 22 # 23 #
# Column 1 is replaced, since the output can be either
# "Connecting to master" or "Waiting for master update"
--
replace_column
1
# 7 # 8 # 9 # 22 # 23 #
--
vertical_results
show
slave
status
;
...
...
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