summaryrefslogtreecommitdiffstats
path: root/weblog-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'weblog-model.lua')
-rw-r--r--weblog-model.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/weblog-model.lua b/weblog-model.lua
index f5f339c..8db7490 100644
--- a/weblog-model.lua
+++ b/weblog-model.lua
@@ -887,6 +887,8 @@ local function importlogfile(source, cookiesfile, file, parselog_func, importlog
else
con:execute("START TRANSACTION")
end
+ else
+ assert(con:execute("RELEASE SAVEPOINT before_line"))
end
end
con:execute("COMMIT")