Skip to content

Commit 7c17cee

Browse files
author
Shlomi Noach
committed
reverting some changes
1 parent 0be91ba commit 7c17cee

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

go/logic/applier.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,7 @@ func (this *Applier) ApplyDMLEventQuery(dmlEvent *binlog.BinlogDMLEvent) error {
10021002
return err
10031003
}
10041004
sessionQuery := `SET
1005+
SESSION time_zone = '+00:00',
10051006
sql_mode = CONCAT(@@session.sql_mode, ',STRICT_ALL_TABLES')
10061007
`
10071008
if _, err := tx.Exec(sessionQuery); err != nil {
@@ -1046,6 +1047,7 @@ func (this *Applier) ApplyDMLEventQueries(dmlEvents [](*binlog.BinlogDMLEvent))
10461047
}
10471048

10481049
sessionQuery := `SET
1050+
SESSION time_zone = '+00:00',
10491051
sql_mode = CONCAT(@@session.sql_mode, ',STRICT_ALL_TABLES')
10501052
`
10511053
if _, err := tx.Exec(sessionQuery); err != nil {

vendor/github.com/siddontang/go-mysql/replication/row_event.go

Lines changed: 11 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)