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
d091deaf
Commit
d091deaf
authored
Feb 24, 2009
by
Andrei Elkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing compilation warning and adding flush logs to test of bug#37313
parent
4712e6b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
mysql-test/r/mysqlbinlog.result
mysql-test/r/mysqlbinlog.result
+1
-0
mysql-test/t/mysqlbinlog.test
mysql-test/t/mysqlbinlog.test
+1
-0
sql/log_event.cc
sql/log_event.cc
+1
-1
No files found.
mysql-test/r/mysqlbinlog.result
View file @
d091deaf
...
@@ -364,6 +364,7 @@ drop table t1;
...
@@ -364,6 +364,7 @@ drop table t1;
shell> mysqlbinlog std_data/corrupt-relay-bin.000624 > var/tmp/bug31793.sql
shell> mysqlbinlog std_data/corrupt-relay-bin.000624 > var/tmp/bug31793.sql
set @@global.server_id= 4294967295;
set @@global.server_id= 4294967295;
reset master;
reset master;
flush logs;
select
select
(@a:=load_file("MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug37313.binlog"))
(@a:=load_file("MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug37313.binlog"))
is not null;
is not null;
...
...
mysql-test/t/mysqlbinlog.test
View file @
d091deaf
...
@@ -262,6 +262,7 @@ let $s_id_max=`select (1 << 32) - 1`;
...
@@ -262,6 +262,7 @@ let $s_id_max=`select (1 << 32) - 1`;
eval
set
@@
global
.
server_id
=
$s_id_max
;
eval
set
@@
global
.
server_id
=
$s_id_max
;
reset
master
;
reset
master
;
flush
logs
;
--
exec
$MYSQL_BINLOG
$MYSQLTEST_VARDIR
/
log
/
master
-
bin
.
000001
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_bug37313
.
binlog
--
exec
$MYSQL_BINLOG
$MYSQLTEST_VARDIR
/
log
/
master
-
bin
.
000001
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_bug37313
.
binlog
--
replace_result
$MYSQLTEST_VARDIR
MYSQLTEST_VARDIR
--
replace_result
$MYSQLTEST_VARDIR
MYSQLTEST_VARDIR
eval
select
eval
select
...
...
sql/log_event.cc
View file @
d091deaf
...
@@ -976,7 +976,7 @@ void Log_event::print_header(FILE* file, PRINT_EVENT_INFO* print_event_info)
...
@@ -976,7 +976,7 @@ void Log_event::print_header(FILE* file, PRINT_EVENT_INFO* print_event_info)
fputc
(
'#'
,
file
);
fputc
(
'#'
,
file
);
print_timestamp
(
file
);
print_timestamp
(
file
);
fprintf
(
file
,
" server id %lu end_log_pos %s "
,
server_id
,
fprintf
(
file
,
" server id %lu end_log_pos %s "
,
(
ulong
)
server_id
,
llstr
(
log_pos
,
llbuff
));
llstr
(
log_pos
,
llbuff
));
/* mysqlbinlog --hexdump */
/* mysqlbinlog --hexdump */
...
...
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