aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-06-17 13:36:42 +0200
committerKim Alvefur <zash@zash.se>2023-06-17 13:36:42 +0200
commit935f28230ac894956d6933a951236997d7e23f30 (patch)
tree2721778c2844d2904589bbd70058d4532118c980
parent02469e4e8eca3dd5cfd42f159175ec536300db33 (diff)
downloadprosody-935f28230ac894956d6933a951236997d7e23f30.tar.gz
prosody-935f28230ac894956d6933a951236997d7e23f30.zip
mod_storage_sql: Adjust indentation to align with surrounding code
-rw-r--r--plugins/mod_storage_sql.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index b339a4e9..04022f2a 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -310,9 +310,9 @@ function archive_store:append(username, key, value, when, with)
item_count_cache_miss();
local ok, ret = engine:transaction(function()
local count_sql = [[
- SELECT COUNT(*) FROM "prosodyarchive"
- WHERE "host"=? AND "user"=? AND "store"=?;
- ]];
+ SELECT COUNT(*) FROM "prosodyarchive"
+ WHERE "host"=? AND "user"=? AND "store"=?;
+ ]];
local result = engine:select(count_sql, host, user, store);
if result then
for row in result do