aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_storage_sql.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index fe7d2ef0..b97b0582 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -935,7 +935,7 @@ function module.load()
-- Note: These things can't be changed with in a transaction. LuaDBI
-- opens a transaction automatically for every statement(?), so this
-- will not work there.
- local tune = module:get_option_string("sqlite_tune", "default");
+ local tune = module:get_option_enum("sqlite_tune", "default", "normal", "fast", "safe");
if tune == "normal" then
if journal_mode ~= "wal" then
engine:execute("PRAGMA journal_mode=WAL;");