Skip to content

Commit 0be91ba

Browse files
author
Shlomi Noach
committed
trying something...
1 parent f25d0b1 commit 0be91ba

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

go/logic/applier.go

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

10491048
sessionQuery := `SET
1050-
SESSION time_zone = '+00:00',
10511049
sql_mode = CONCAT(@@session.sql_mode, ',STRICT_ALL_TABLES')
10521050
`
10531051
if _, err := tx.Exec(sessionQuery); err != nil {

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

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

0 commit comments

Comments
 (0)