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
commit ad0e00a3b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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"