Skip to content

Commit

Permalink
Merge pull request #34 from takaidohigasi/fix-affected-rows-conversio…
Browse files Browse the repository at this point in the history
…n-bug-when-the-numbers-of-row-is-large

fix affected rows conversoin bug when the number of row is large
  • Loading branch information
40t authored Mar 27, 2020
2 parents e209ea8 + 0832d3f commit ad0e00a
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 ad0e00a

Please sign in to comment.