2tvenom / myreplication

Golang MySql binary log replication listener

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing characters

drasch opened this issue · comments

In trying to use this library, we found it was truncating the values from the binlog and we didn't take the time to figure out why. Switched to using: https://github.com/siddontang/go-mysql instead.

@drasch Hello. Can you give example of query where missing characters? Thank you

The last character of strings were truncated. This is fixed in some of
the forks of the repo, we found.
On Jun 4, 2016 03:39, "Pavel <Ven> Gulbin" notifications@github.com
wrote:

@drasch https://github.com/drasch Hello. Can you give example of query
where missing characters? Thank you


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AANhpSLahWVTR-3pXYgA7TKsRIgLK6wPks5qISupgaJpZM4IuADm
.

@drasch please make pull request

@drasch About https://github.com/siddontang/go-mysql , if I use this library, can we dump this record detail if we insert a line?
@2tvenom there are some mistakes when I dump the values from the binlog, the type of uint8 is always wrong.

some log is as bellow:
BEGIN
Write t_live2odv2_kuwo
uint32 0 0 3 40
string 0 1 254 8e9addd82febf91d0fffead1760b5001
string 0 2 15
string 0 3 254
uint8 0 4 1 50 -----------this type is uint8 and the actual value is 0, but log always print 50, I do not know why