mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update webstats_common.lua
This commit is contained in:
@@ -101,6 +101,8 @@ function _M.cron(self)
|
||||
status, errorString = db:exec(update_sql)
|
||||
self:write_update_day(input_sn)
|
||||
end
|
||||
|
||||
db:exec([[BEGIN TRANSACTION]])
|
||||
end
|
||||
end
|
||||
|
||||
@@ -134,7 +136,7 @@ function _M.cron(self)
|
||||
return true
|
||||
end
|
||||
|
||||
db:exec([[BEGIN TRANSACTION]])
|
||||
|
||||
|
||||
local local_stmt2 = db:prepare[[INSERT INTO web_logs(
|
||||
time, ip, domain, server_name, method, status_code, uri, body_length,
|
||||
|
||||
Reference in New Issue
Block a user