projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Транзакционная работа с БД для избежания блокировок.
[weathermon.git]
/
bin
/
weather-filter
diff --git
a/bin/weather-filter
b/bin/weather-filter
index 84c22653696bb52467dfe2a02a8176f815bf9eab..3acca7b9569222281a6a8470130df146891d5f72 100755
(executable)
--- a/
bin/weather-filter
+++ b/
bin/weather-filter
@@
-175,7
+175,7
@@
local day = arg[3]
local dbdriver = require "luasql.sqlite3"
env = assert(dbdriver.sqlite3())
local dbdriver = require "luasql.sqlite3"
env = assert(dbdriver.sqlite3())
-con = assert(env:connect(logdb))
+con = assert(env:connect(logdb
,'READONLY'
))
if command == "list" then
if command == "list" then