Merge pull request #11 from Chyroc/fix-mysql-server-packet-nil-pointer

fix mysql packet nil pointer
This commit is contained in:
Four 2018-10-26 20:27:47 +08:00 committed by GitHub
commit 915970dc69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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