From 3156661e0b1fb85dd7e70f7df8c532ba0367e3e3 Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Thu, 6 Aug 2015 20:00:48 +0800 Subject: [PATCH] bugfix: response function for socket channel --- lualib/mysql.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lualib/mysql.lua b/lualib/mysql.lua index a83a0986..305e900b 100755 --- a/lualib/mysql.lua +++ b/lualib/mysql.lua @@ -386,7 +386,8 @@ end local function _recv_decode_packet_resp(self) return function(sock) - return true, _recv_packet(self,sock) + -- don't return more than 2 results + return true, (_recv_packet(self,sock)) end end