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
1989ae9e
Commit
1989ae9e
authored
Sep 25, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix TZ setting to be Windows-compatible
parent
ed2c5734
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
mysql-test/r/mysqlbinlog.result
mysql-test/r/mysqlbinlog.result
+20
-20
mysql-test/t/mysqlbinlog.test
mysql-test/t/mysqlbinlog.test
+1
-1
No files found.
mysql-test/r/mysqlbinlog.result
View file @
1989ae9e
...
@@ -923,7 +923,7 @@ SET GLOBAL SERVER_ID = 1;
...
@@ -923,7 +923,7 @@ SET GLOBAL SERVER_ID = 1;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
DELIMITER /*!*/;
# at 4
# at 4
#130807 2
3
:29:20 server id 1 end_log_pos 106
#130807 2
0
:29:20 server id 1 end_log_pos 106
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 4 |20 ae 02 52 |0f |01 00 00 00 |66 00 00 00 |6a 00 00 00 |00 01
# 4 |20 ae 02 52 |0f |01 00 00 00 |66 00 00 00 |6a 00 00 00 |00 01
...
@@ -935,14 +935,14 @@ DELIMITER /*!*/;
...
@@ -935,14 +935,14 @@ DELIMITER /*!*/;
# 57 04 04 04 04 12 00 00 53 00 04 1a 08 00 00 00 08 |.......S........|
# 57 04 04 04 04 12 00 00 53 00 04 1a 08 00 00 00 08 |.......S........|
# 67 08 08 02 |...|
# 67 08 08 02 |...|
#
#
# Event: Start: binlog v 4, server v 5.1.63-google-debug-log created 130807 2
3
:29:20 at startup
# Event: Start: binlog v 4, server v 5.1.63-google-debug-log created 130807 2
0
:29:20 at startup
ROLLBACK/*!*/;
ROLLBACK/*!*/;
BINLOG '
BINLOG '
IK4CUg8BAAAAZgAAAGoAAAAAAQQANS4xLjYzLWdvb2dsZS1kZWJ1Zy1sb2cAAAAAAAAAAAAAAAAA
IK4CUg8BAAAAZgAAAGoAAAAAAQQANS4xLjYzLWdvb2dsZS1kZWJ1Zy1sb2cAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAgrgJSFzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
AAAAAAAAAAAAAAAAAAAgrgJSFzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
'/*!*/;
'/*!*/;
# at 106
# at 106
#130807 2
3
:29:24 server id 1 end_log_pos 207
#130807 2
0
:29:24 server id 1 end_log_pos 207
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 6a |24 ae 02 52 |02 |01 00 00 00 |65 00 00 00 |cf 00 00 00 |00 00
# 6a |24 ae 02 52 |02 |01 00 00 00 |65 00 00 00 |cf 00 00 00 |00 00
...
@@ -966,7 +966,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
...
@@ -966,7 +966,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
create table test.t1 (id int not null)
create table test.t1 (id int not null)
/*!*/;
/*!*/;
# at 207
# at 207
#130807 2
3
:29:26 server id 1 end_log_pos 305
#130807 2
0
:29:26 server id 1 end_log_pos 305
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# cf |26 ae 02 52 |02 |01 00 00 00 |62 00 00 00 |31 01 00 00 |00 00
# cf |26 ae 02 52 |02 |01 00 00 00 |62 00 00 00 |31 01 00 00 |00 00
...
@@ -982,7 +982,7 @@ SET TIMESTAMP=1375907366/*!*/;
...
@@ -982,7 +982,7 @@ SET TIMESTAMP=1375907366/*!*/;
insert into test.t1 (id) values (1)
insert into test.t1 (id) values (1)
/*!*/;
/*!*/;
# at 305
# at 305
#130807 2
3
:29:28 server id 1 end_log_pos 386
#130807 2
0
:29:28 server id 1 end_log_pos 386
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 131 |28 ae 02 52 |02 |01 00 00 00 |51 00 00 00 |82 01 00 00 |00 00
# 131 |28 ae 02 52 |02 |01 00 00 00 |51 00 00 00 |82 01 00 00 |00 00
...
@@ -1006,7 +1006,7 @@ ROLLBACK /* added by mysqlbinlog */;
...
@@ -1006,7 +1006,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
DELIMITER /*!*/;
# at 4
# at 4
#130807 2
3
:25:35 server id 1 end_log_pos 106
#130807 2
0
:25:35 server id 1 end_log_pos 106
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 4 |3f ad 02 52 |0f |01 00 00 00 |66 00 00 00 |6a 00 00 00 |00 00
# 4 |3f ad 02 52 |0f |01 00 00 00 |66 00 00 00 |6a 00 00 00 |00 00
...
@@ -1018,14 +1018,14 @@ DELIMITER /*!*/;
...
@@ -1018,14 +1018,14 @@ DELIMITER /*!*/;
# 57 04 04 04 04 12 00 00 53 00 04 1a 08 00 00 00 08 |.......S........|
# 57 04 04 04 04 12 00 00 53 00 04 1a 08 00 00 00 08 |.......S........|
# 67 08 08 02 |...|
# 67 08 08 02 |...|
#
#
# Event: Start: binlog v 4, server v 5.1.63-google-debug-log created 130807 2
3
:25:35 at startup
# Event: Start: binlog v 4, server v 5.1.63-google-debug-log created 130807 2
0
:25:35 at startup
ROLLBACK/*!*/;
ROLLBACK/*!*/;
BINLOG '
BINLOG '
P60CUg8BAAAAZgAAAGoAAAAAAAQANS4xLjYzLWdvb2dsZS1kZWJ1Zy1sb2cAAAAAAAAAAAAAAAAA
P60CUg8BAAAAZgAAAGoAAAAAAAQANS4xLjYzLWdvb2dsZS1kZWJ1Zy1sb2cAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA/rQJSGzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
AAAAAAAAAAAAAAAAAAA/rQJSGzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
'/*!*/;
'/*!*/;
# at 106
# at 106
#130807 2
3
:25:41 server id 1 end_log_pos 211
#130807 2
0
:25:41 server id 1 end_log_pos 211
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 6a |45 ad 02 52 |02 |01 00 00 00 |69 00 00 00 |d3 00 00 00 |00 00
# 6a |45 ad 02 52 |02 |01 00 00 00 |69 00 00 00 |d3 00 00 00 |00 00
...
@@ -1049,7 +1049,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
...
@@ -1049,7 +1049,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
create table test.t1 (id int not null)
create table test.t1 (id int not null)
/*!*/;
/*!*/;
# at 211
# at 211
#130807 2
3
:25:44 server id 1 end_log_pos 313
#130807 2
0
:25:44 server id 1 end_log_pos 313
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# d3 |48 ad 02 52 |02 |01 00 00 00 |66 00 00 00 |39 01 00 00 |00 00
# d3 |48 ad 02 52 |02 |01 00 00 00 |66 00 00 00 |39 01 00 00 |00 00
...
@@ -1065,7 +1065,7 @@ SET TIMESTAMP=1375907144/*!*/;
...
@@ -1065,7 +1065,7 @@ SET TIMESTAMP=1375907144/*!*/;
insert into test.t1 (id) values (1)
insert into test.t1 (id) values (1)
/*!*/;
/*!*/;
# at 313
# at 313
#130807 2
3
:25:48 server id 1 end_log_pos 398
#130807 2
0
:25:48 server id 1 end_log_pos 398
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 139 |4c ad 02 52 |02 |01 00 00 00 |55 00 00 00 |8e 01 00 00 |00 00
# 139 |4c ad 02 52 |02 |01 00 00 00 |55 00 00 00 |8e 01 00 00 |00 00
...
@@ -1089,7 +1089,7 @@ ROLLBACK /* added by mysqlbinlog */;
...
@@ -1089,7 +1089,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
DELIMITER /*!*/;
# at 4
# at 4
#130807 2
3
:20:55 server id 1 end_log_pos 106
#130807 2
0
:20:55 server id 1 end_log_pos 106
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 4 |27 ac 02 52 |0f |01 00 00 00 |66 00 00 00 |6a 00 00 00 |00 01
# 4 |27 ac 02 52 |0f |01 00 00 00 |66 00 00 00 |6a 00 00 00 |00 01
...
@@ -1101,14 +1101,14 @@ DELIMITER /*!*/;
...
@@ -1101,14 +1101,14 @@ DELIMITER /*!*/;
# 57 04 04 04 04 12 00 00 53 00 04 1a 08 00 00 00 08 |.......S........|
# 57 04 04 04 04 12 00 00 53 00 04 1a 08 00 00 00 08 |.......S........|
# 67 08 08 02 |...|
# 67 08 08 02 |...|
#
#
# Event: Start: binlog v 4, server v 5.1.63-google-debug-log created 130807 2
3
:20:55 at startup
# Event: Start: binlog v 4, server v 5.1.63-google-debug-log created 130807 2
0
:20:55 at startup
ROLLBACK/*!*/;
ROLLBACK/*!*/;
BINLOG '
BINLOG '
J6wCUg8BAAAAZgAAAGoAAAAAAQQANS4xLjYzLWdvb2dsZS1kZWJ1Zy1sb2cAAAAAAAAAAAAAAAAA
J6wCUg8BAAAAZgAAAGoAAAAAAQQANS4xLjYzLWdvb2dsZS1kZWJ1Zy1sb2cAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAnrAJSHzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
AAAAAAAAAAAAAAAAAAAnrAJSHzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
'/*!*/;
'/*!*/;
# at 106
# at 106
#130807 2
3
:21:19 server id 1 end_log_pos 215
#130807 2
0
:21:19 server id 1 end_log_pos 215
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 6a |3f ac 02 52 |02 |01 00 00 00 |6d 00 00 00 |d7 00 00 00 |00 00
# 6a |3f ac 02 52 |02 |01 00 00 00 |6d 00 00 00 |d7 00 00 00 |00 00
...
@@ -1132,7 +1132,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
...
@@ -1132,7 +1132,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
create table test.t1 (id int not null)
create table test.t1 (id int not null)
/*!*/;
/*!*/;
# at 215
# at 215
#130807 2
3
:21:31 server id 1 end_log_pos 321
#130807 2
0
:21:31 server id 1 end_log_pos 321
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# d7 |4b ac 02 52 |02 |01 00 00 00 |6a 00 00 00 |41 01 00 00 |00 00
# d7 |4b ac 02 52 |02 |01 00 00 00 |6a 00 00 00 |41 01 00 00 |00 00
...
@@ -1148,7 +1148,7 @@ SET TIMESTAMP=1375906891/*!*/;
...
@@ -1148,7 +1148,7 @@ SET TIMESTAMP=1375906891/*!*/;
insert into test.t1 (id) values (1)
insert into test.t1 (id) values (1)
/*!*/;
/*!*/;
# at 321
# at 321
#130807 2
3
:21:41 server id 1 end_log_pos 410
#130807 2
0
:21:41 server id 1 end_log_pos 410
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 141 |55 ac 02 52 |02 |01 00 00 00 |59 00 00 00 |9a 01 00 00 |00 00
# 141 |55 ac 02 52 |02 |01 00 00 00 |59 00 00 00 |9a 01 00 00 |00 00
...
@@ -1172,7 +1172,7 @@ ROLLBACK /* added by mysqlbinlog */;
...
@@ -1172,7 +1172,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
DELIMITER /*!*/;
# at 4
# at 4
#130807 2
3
:38:51 server id 1 end_log_pos 106
#130807 2
0
:38:51 server id 1 end_log_pos 106
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 4 |5b b0 02 52 |0f |01 00 00 00 |66 00 00 00 |6a 00 00 00 |00 00
# 4 |5b b0 02 52 |0f |01 00 00 00 |66 00 00 00 |6a 00 00 00 |00 00
...
@@ -1184,14 +1184,14 @@ DELIMITER /*!*/;
...
@@ -1184,14 +1184,14 @@ DELIMITER /*!*/;
# 57 04 04 04 04 12 00 00 53 00 04 1a 08 00 00 00 08 |.......S........|
# 57 04 04 04 04 12 00 00 53 00 04 1a 08 00 00 00 08 |.......S........|
# 67 08 08 02 |...|
# 67 08 08 02 |...|
#
#
# Event: Start: binlog v 4, server v 5.1.63-google-debug-log created 130807 2
3
:38:51 at startup
# Event: Start: binlog v 4, server v 5.1.63-google-debug-log created 130807 2
0
:38:51 at startup
ROLLBACK/*!*/;
ROLLBACK/*!*/;
BINLOG '
BINLOG '
W7ACUg8BAAAAZgAAAGoAAAAAAAQANS4xLjYzLWdvb2dsZS1kZWJ1Zy1sb2cAAAAAAAAAAAAAAAAA
W7ACUg8BAAAAZgAAAGoAAAAAAAQANS4xLjYzLWdvb2dsZS1kZWJ1Zy1sb2cAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAABbsAJSEzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
AAAAAAAAAAAAAAAAAABbsAJSEzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
'/*!*/;
'/*!*/;
# at 106
# at 106
#130807 2
3
:38:53 server id 1 end_log_pos 203
#130807 2
0
:38:53 server id 1 end_log_pos 203
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 6a |5d b0 02 52 |02 |01 00 00 00 |61 00 00 00 |cb 00 00 00 |00 00
# 6a |5d b0 02 52 |02 |01 00 00 00 |61 00 00 00 |cb 00 00 00 |00 00
...
@@ -1215,7 +1215,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
...
@@ -1215,7 +1215,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
create table test.t1 (id int not null)
create table test.t1 (id int not null)
/*!*/;
/*!*/;
# at 203
# at 203
#130807 2
3
:38:55 server id 1 end_log_pos 297
#130807 2
0
:38:55 server id 1 end_log_pos 297
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# cb |5f b0 02 52 |02 |01 00 00 00 |5e 00 00 00 |29 01 00 00 |00 00
# cb |5f b0 02 52 |02 |01 00 00 00 |5e 00 00 00 |29 01 00 00 |00 00
...
@@ -1231,7 +1231,7 @@ SET TIMESTAMP=1375907935/*!*/;
...
@@ -1231,7 +1231,7 @@ SET TIMESTAMP=1375907935/*!*/;
insert into test.t1 (id) values (1)
insert into test.t1 (id) values (1)
/*!*/;
/*!*/;
# at 297
# at 297
#130807 2
3
:38:57 server id 1 end_log_pos 374
#130807 2
0
:38:57 server id 1 end_log_pos 374
# Position
# Position
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# |Timestamp |Type |Master ID |Size |Master Pos |Flags
# 129 |61 b0 02 52 |02 |01 00 00 00 |4d 00 00 00 |76 01 00 00 |00 00
# 129 |61 b0 02 52 |02 |01 00 00 00 |4d 00 00 00 |76 01 00 00 |00 00
...
...
mysql-test/t/mysqlbinlog.test
View file @
1989ae9e
...
@@ -598,7 +598,7 @@ eval SET GLOBAL SERVER_ID = $old_server_id;
...
@@ -598,7 +598,7 @@ eval SET GLOBAL SERVER_ID = $old_server_id;
--
echo
# MDEV-4645: Incorrect reads of frozen binlog events;
--
echo
# MDEV-4645: Incorrect reads of frozen binlog events;
--
echo
# FDE corrupted in relay log
--
echo
# FDE corrupted in relay log
--
echo
#
--
echo
#
--
let
TZ
=
Europe
/
Helsinki
--
let
TZ
=
GMT
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_checksum
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_checksum
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_group_id
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_group_id
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_group_id_checksum
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_group_id_checksum
.
binlog
...
...
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