no message

This commit is contained in:
changfeng
2014-06-26 01:04:11 +08:00
parent 4cce476dfc
commit fce05f0cfc
2 changed files with 33 additions and 5 deletions

View File

@@ -481,12 +481,14 @@ local function _recv_auth_resp(self)
if not packet then
--print("recv auth resp : failed to receive the result packet")
error ("failed to receive the result packet"..err)
--return nil,err
end
--print("receive auth response packet type: ",typ)
if typ == 'ERR' then
local errno, msg, sqlstate = _parse_err_packet(packet)
error( string.format("errno:%d, msg:%s,sqlstate:%s",errno,msg,sqlstate))
--return nil, errno,msg, sqlstate
end
if typ == 'EOF' then