From 950fde2ad6bdd82216115c60e0ca0aec68e8d1eb Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Mon, 22 Aug 2016 15:45:38 +0200 Subject: [PATCH 1/2] row_event converts timestamps to UTC --- vendor/github.com/siddontang/go-mysql/replication/row_event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/github.com/siddontang/go-mysql/replication/row_event.go b/vendor/github.com/siddontang/go-mysql/replication/row_event.go index 3fe8598..0e4eb17 100644 --- a/vendor/github.com/siddontang/go-mysql/replication/row_event.go +++ b/vendor/github.com/siddontang/go-mysql/replication/row_event.go @@ -609,7 +609,7 @@ func decodeTimestamp2(data []byte, dec uint16) (string, int, error) { return "0000-00-00 00:00:00", n, nil } - t := time.Unix(sec, usec*1000) + t := time.Unix(sec, usec*1000).UTC() return t.Format(TimeFormat), n, nil } From 9dc378feaa62c66851c29aa3b694c0f3ade36bda Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Mon, 22 Aug 2016 16:20:11 +0200 Subject: [PATCH 2/2] updated version --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index bae5040..36c4215 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ # # -RELEASE_VERSION="1.0.12" +RELEASE_VERSION="1.0.13" function build { osname=$1