fix mysql packet nil pointer

This commit is contained in:
Chyroc 2018-10-26 20:10:13 +08:00
parent 1380541096
commit 06b5dde069
No known key found for this signature in database
GPG Key ID: 186BAE4432B5B287
1 changed files with 1 additions and 0 deletions

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