Skip to content

Commit

Permalink
fix affected rows conversoin bug when the number of row is large
Browse files Browse the repository at this point in the history
  • Loading branch information
takaidohigasi committed Mar 16, 2020
1 parent e209ea8 commit 0832d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugSrc/mysql/build/entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0832d3f

Please sign in to comment.