From 5fb3c45f1744906a0d6bb7a6188ce91ba6f9e888 Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Sat, 13 Oct 2018 08:17:58 +0100
Subject: mod_storage_sql: Fix issue number in comment that was fixed by
 55b40f3fa659 (fixes #1073)

---
 plugins/mod_storage_sql.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'plugins')

diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index 859b43c9..ae6a2676 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -522,7 +522,7 @@ local function upgrade_table(engine, params, apply_changes) -- luacheck: ignore
 			end
 
 			do
-				-- Ensure index is not unique (issue #1087)
+				-- Ensure index is not unique (issue #1073)
 				local result = assert(engine:execute([[SHOW INDEX FROM prosodyarchive WHERE key_name='prosodyarchive_index' and non_unique=0]]));
 				if result:rowcount() > 0 then
 					changes = true;
-- 
cgit v1.2.3