Merge pull request #34 from takaidohigasi/fix-affected-rows-conversion-bug-when-the-numbers-of-row-is-large

fix affected rows conversoin bug when the number of row is large
This commit is contained in:
Four
2020-03-27 19:17:47 +08:00
committed by GitHub

View File

@@ -232,7 +232,7 @@ func (stm *stream) resolveServerPacket(payload []byte, seq int) {
case 0x00:
var pos = 1
l,_ := LengthBinary(payload[pos:])
l,_,_ := LengthEncodedInt(payload[pos:])
affectedRows := int(l)
msg += GetNowStr(false)+"%s Effect Row:%s"