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

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 {
@@ -196,6 +197,7 @@ func (stm *stream) resolve() {
}
}
}
}
func (stm *stream) findStmtPacket (srv chan *packet, seq int) *packet {
for {