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
5390ad33
Commit
5390ad33
authored
May 08, 2009
by
Alexey Kopytov
Browse files
Options
Browse Files
Download
Plain Diff
Manual merge.
parents
c5548ad7
c0cd2742
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
client/mysqlbinlog.cc
client/mysqlbinlog.cc
+1
-2
mysql-test/r/mysqlbinlog.result
mysql-test/r/mysqlbinlog.result
+3
-0
mysql-test/t/mysqlbinlog.test
mysql-test/t/mysqlbinlog.test
+12
-0
No files found.
client/mysqlbinlog.cc
View file @
5390ad33
...
...
@@ -1529,8 +1529,7 @@ static Exit_status dump_remote_log_entries(PRINT_EVENT_INFO *print_event_info,
If reading from a remote host, ensure the temp_buf for the
Log_event class is pointing to the incoming stream.
*/
if
(
remote_opt
)
ev
->
register_temp_buf
((
char
*
)
net
->
read_pos
+
1
);
ev
->
register_temp_buf
((
char
*
)
net
->
read_pos
+
1
);
Log_event_type
type
=
ev
->
get_type_code
();
if
(
glob_description_event
->
binlog_version
>=
3
||
...
...
mysql-test/r/mysqlbinlog.result
View file @
5390ad33
...
...
@@ -471,4 +471,7 @@ IS NOT NULL
1
*** Unsigned server_id 4294967295 is found: 1 ***
SET @@global.server_id= 1;
RESET MASTER;
FLUSH LOGS;
End of 5.0 tests
End of 5.1 tests
mysql-test/t/mysqlbinlog.test
View file @
5390ad33
...
...
@@ -367,4 +367,16 @@ echo *** Unsigned server_id $s_id_max is found: $s_id_unsigned ***;
eval
SET
@@
global
.
server_id
=
$save_server_id
;
--
remove_file
$binlog_file
#
# Bug #41943: mysqlbinlog.exe crashes if --hexdump option is used
#
RESET
MASTER
;
FLUSH
LOGS
;
# We do not need the results, just make sure that mysqlbinlog does not crash
--
exec
$MYSQL_BINLOG
--
hexdump
--
read
-
from
-
remote
-
server
--
user
=
root
--
host
=
127.0
.
0.1
--
port
=
$MASTER_MYPORT
master
-
bin
.
000001
>/
dev
/
null
--
echo
End
of
5.0
tests
--
echo
End
of
5.1
tests
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