Skip to content

Commit 9cf4819

Browse files
author
Shlomi Noach
committed
Merge branch 'master' into fix-rename
Wish to incorporate important time_zone fix
2 parents 1376f0a + fc95456 commit 9cf4819

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
#
44

5-
RELEASE_VERSION="1.0.10"
5+
RELEASE_VERSION="1.0.11"
66

77
function build {
88
osname=$1

go/logic/applier.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,9 @@ func (this *Applier) ApplyDMLEventQuery(dmlEvent *binlog.BinlogDMLEvent) error {
870870
if err != nil {
871871
return err
872872
}
873+
if _, err := tx.Exec("SET SESSION time_zone = '+00:00'"); err != nil {
874+
return err
875+
}
873876
if _, err := tx.Exec(query, args...); err != nil {
874877
return err
875878
}

0 commit comments

Comments
 (0)