Merge branch 'master' into fix-rename

Wish to incorporate important time_zone fix
This commit is contained in:
Shlomi Noach 2016-08-22 11:54:52 +02:00
commit 9cf4819a98
2 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
#
#
RELEASE_VERSION="1.0.10"
RELEASE_VERSION="1.0.11"
function build {
osname=$1

View File

@ -870,6 +870,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
}