experiment done: restoring patch

This commit is contained in:
Shlomi Noach 2018-05-15 15:07:12 +03:00
parent 0f9a26ef6c
commit 1f772dfcd9

View File

@ -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),