mirror of https://github.com/40t/go-sniffer.git
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:
commit
ad0e00a3b2
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue