fix mysql packet nil pointer

This commit is contained in:
Chyroc
2018-10-26 20:10:13 +08:00
parent 1380541096
commit 06b5dde069

View File

@@ -260,6 +260,7 @@ func (stm *stream) resolveClientPacket(payload []byte, seq int) {
serverPacket := stm.findStmtPacket(stm.packets, seq+1)
if serverPacket == nil {
log.Println("ERR : Not found stm packet")
return
}
//fetch stm id