Merge pull request #24 from 40t/fix_mysql_resolve

Fix mysql resolve
This commit is contained in:
Four 2019-06-06 19:05:00 +08:00 committed by GitHub
commit bf05608086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -188,6 +188,7 @@ func (stm *stream) resolve() {
for {
select {
case packet := <- stm.packets:
if packet.length != 0 {
if packet.isClientFlow {
stm.resolveClientPacket(packet.payload, packet.seq)
} else {
@ -195,6 +196,7 @@ func (stm *stream) resolve() {
}
}
}
}
}
func (stm *stream) findStmtPacket (srv chan *packet, seq int) *packet {