From 90536e4a0db01fde0ca75671a978184b584e7365 Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Mon, 14 Aug 2017 10:49:32 +0800 Subject: [PATCH] fix invalid type of generic response packets, see #712 --- lualib/skynet/db/mysql.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/skynet/db/mysql.lua b/lualib/skynet/db/mysql.lua index b5d97e2c..f08995b0 100644 --- a/lualib/skynet/db/mysql.lua +++ b/lualib/skynet/db/mysql.lua @@ -164,7 +164,7 @@ local function _recv_packet(self,sock) typ = "ERR" elseif field_count == 0xfe then typ = "EOF" - elseif field_count <= 250 then + else typ = "DATA" end