# HG changeset patch # User Kim Alvefur # Date 1582385180 -3600 # Node ID ffa9a20aca8b598f519b68277816c648ce271d2f # Parent a2bd6e85a4578997f3a817b821bb0d26c06a49cb# Parent ee6c122644206b8fed6f9809f978965ac216f7d7 Merge 0.11->trunk diff -r a2bd6e85a457 -r ffa9a20aca8b plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Fri Feb 21 23:30:47 2020 +0100 +++ b/plugins/mod_storage_sql.lua Sat Feb 22 16:26:20 2020 +0100 @@ -728,14 +728,14 @@ return false, "database upgrade needed"; end end - end); - if engine.params.driver == "SQLite3" then - for row in engine:select("PRAGMA compile_options") do - if row[1] == "ENABLE_UPDATE_DELETE_LIMIT" then - engine._have_delete_limit = true; + if engine.params.driver == "SQLite3" then + for row in engine:select("PRAGMA compile_options") do + if row[1] == "ENABLE_UPDATE_DELETE_LIMIT" then + engine._have_delete_limit = true; + end end end - end + end); engines[sql.db2uri(params)] = engine; end