From 935f28230ac894956d6933a951236997d7e23f30 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 17 Jun 2023 13:36:42 +0200 Subject: mod_storage_sql: Adjust indentation to align with surrounding code --- plugins/mod_storage_sql.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/mod_storage_sql.lua') 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 -- cgit v1.2.3