Diff

plugins/mod_storage_sql.lua @ 13158:cf2a907ac130

mod_storage_sql: Adjust indentation to align with surrounding code
author Kim Alvefur <zash@zash.se>
date Sat, 17 Jun 2023 13:36:42 +0200
parent 13157:841276d0cc25
child 13159:706f7d1affc2
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua	Sat Jun 17 00:22:45 2023 +0200
+++ b/plugins/mod_storage_sql.lua	Sat Jun 17 13:36:42 2023 +0200
@@ -310,9 +310,9 @@
 			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