experiment done: restoring patch
This commit is contained in:
parent
0f9a26ef6c
commit
1f772dfcd9
6
vendor/github.com/siddontang/go-mysql/replication/row_event.go
generated
vendored
6
vendor/github.com/siddontang/go-mysql/replication/row_event.go
generated
vendored
@ -401,9 +401,9 @@ func (e *RowsEvent) decodeValue(data []byte, tp byte, meta uint16) (v interface{
|
||||
n = 8
|
||||
i64 := binary.LittleEndian.Uint64(data)
|
||||
|
||||
// if i64 == 0 {
|
||||
// return "0000-00-00 00:00:00", n, nil
|
||||
// }
|
||||
if i64 == 0 { // commented by Shlomi Noach. Yes I know about `git blame`
|
||||
return "0000-00-00 00:00:00", n, nil
|
||||
}
|
||||
d := i64 / 1000000
|
||||
t := i64 % 1000000
|
||||
v = time.Date(int(d/10000),
|
||||
|
Loading…
Reference in New Issue
Block a user