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
6bbe7b80
Commit
6bbe7b80
authored
Jul 02, 2003
by
vva@eagle.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add comment for BUG 672
parent
da9d454c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/sql_parse.cc
sql/sql_parse.cc
+1
-1
sql/sql_repl.cc
sql/sql_repl.cc
+1
-1
No files found.
sql/sql_parse.cc
View file @
6bbe7b80
...
...
@@ -1160,7 +1160,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
pos
=
uint4korr
(
packet
);
flags
=
uint2korr
(
packet
+
4
);
thd
->
server_id
=
0
;
/* avoid suicide */
if
((
slave_server_id
=
uint4korr
(
packet
+
6
)))
if
((
slave_server_id
=
uint4korr
(
packet
+
6
)))
// mysqlbinlog.server_id==0
kill_zombie_dump_threads
(
slave_server_id
);
thd
->
server_id
=
slave_server_id
;
mysql_binlog_send
(
thd
,
thd
->
strdup
(
packet
+
10
),
(
my_off_t
)
pos
,
flags
);
...
...
sql/sql_repl.cc
View file @
6bbe7b80
...
...
@@ -522,7 +522,7 @@ Increase max_allowed_packet on master";
case
LOG_READ_EOF
:
DBUG_PRINT
(
"wait"
,(
"waiting for data in binary log"
));
if
(
thd
->
server_id
==
0
)
if
(
thd
->
server_id
==
0
)
// for mysqlbinlog (mysqlbinlog.server_id==0)
{
pthread_mutex_unlock
(
log_lock
);
goto
end
;
...
...
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