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
bfa22229
Commit
bfa22229
authored
May 05, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
parents
48260e9d
601bdde5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
mysql-test/r/rpl_server_id2.result
mysql-test/r/rpl_server_id2.result
+1
-0
mysql-test/t/rpl_server_id2.test
mysql-test/t/rpl_server_id2.test
+4
-0
sql/slave.cc
sql/slave.cc
+3
-3
No files found.
mysql-test/r/rpl_server_id2.result
View file @
bfa22229
...
...
@@ -18,4 +18,5 @@ select * from t1;
n
1
1
stop slave;
drop table t1;
mysql-test/t/rpl_server_id2.test
View file @
bfa22229
...
...
@@ -18,4 +18,8 @@ insert into t1 values (1);
save_master_pos
;
sync_with_master
;
select
*
from
t1
;
# check that indeed 2 were inserted
# We stop the slave before cleaning up otherwise we'll get
# 'drop table t1' executed twice, so an error in the slave.err
# (not critical).
stop
slave
;
drop
table
t1
;
sql/slave.cc
View file @
bfa22229
...
...
@@ -2366,9 +2366,9 @@ static int exec_relay_log_event(THD* thd, RELAY_LOG_INFO* rli)
*/
/*
TODO: when this is merged into 4.1, one needs to update queue_event() to
add a similar test for replicate_same_server_id, because in 4.1 the I/O
thread is also filtering
events based on the server id.
In 4.1, we updated queue_event() to add a similar test for
replicate_same_server_id, because in 4.1 the I/O thread is also filtering
events based on the server id.
*/
if
((
ev
->
server_id
==
(
uint32
)
::
server_id
&&
!
replicate_same_server_id
)
||
(
rli
->
slave_skip_counter
&&
type_code
!=
ROTATE_EVENT
))
...
...
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