diff --git a/src/utils/MysqlUtil.lua b/src/utils/MysqlUtil.lua index 6f98e8d..a3298e4 100644 --- a/src/utils/MysqlUtil.lua +++ b/src/utils/MysqlUtil.lua @@ -77,7 +77,7 @@ function roleUnRegister(roleId) end function roleByUid(uid) - local res = mysqlproxy:query(string.format("SELECT id, name, level, FROM `Role` WHERE `del` = 0 and `uid` = '%s'", uid)) + local res = mysqlproxy:query(string.format("SELECT id, name, level FROM `Role` WHERE `del` = 0 and `uid` = '%s'", uid)) if res["errno"] or not next(res) then return false end -- libgit2 0.21.2