Merge pull request #20 from 40t/bugfix/mysql

fix resolveServerPacket
This commit is contained in:
Four 2019-01-04 16:23:31 +08:00 committed by GitHub
commit c9248d507a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -216,6 +216,9 @@ func (stm *stream) findStmtPacket (srv chan *packet, seq int) *packet {
func (stm *stream) resolveServerPacket(payload []byte, seq int) {
var msg = ""
if len(payload) == 0 {
return
}
switch payload[0] {
case 0xff: