diff --git a/build.sh b/build.sh index 150250b..4548f79 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ # # -RELEASE_VERSION="1.0.10" +RELEASE_VERSION="1.0.11" function build { osname=$1 diff --git a/go/logic/applier.go b/go/logic/applier.go index 10da785..189108a 100644 --- a/go/logic/applier.go +++ b/go/logic/applier.go @@ -871,6 +871,9 @@ func (this *Applier) ApplyDMLEventQuery(dmlEvent *binlog.BinlogDMLEvent) error { if err != nil { return err } + if _, err := tx.Exec("SET SESSION time_zone = '+00:00'"); err != nil { + return err + } if _, err := tx.Exec(query, args...); err != nil { return err }