mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
去除语法检查告警 (#1973)
* Update loader.lua去除语法检查告警 * Update mysql.lua去除语法检查告警
This commit is contained in:
@@ -25,8 +25,8 @@ if not main then
|
||||
end
|
||||
|
||||
LUA_SERVICE = nil
|
||||
package.path , LUA_PATH = LUA_PATH
|
||||
package.cpath , LUA_CPATH = LUA_CPATH
|
||||
package.path , LUA_PATH = LUA_PATH, nil
|
||||
package.cpath , LUA_CPATH = LUA_CPATH, nil
|
||||
|
||||
local service_path = string.match(pattern, "(.*/)[^/?]+$")
|
||||
|
||||
|
||||
@@ -820,7 +820,7 @@ end
|
||||
|
||||
local function _prepare_resp(self, sql)
|
||||
return function(sock)
|
||||
return read_prepare_result(self, sock, sql)
|
||||
return read_prepare_result(self, sock)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user