aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-07-07 17:40:23 +0100
committerMatthew Wild <mwild1@gmail.com>2015-07-07 17:40:23 +0100
commit86822ee5e4dadd72ed000669dcbecebdf57f87cb (patch)
tree239856250a79922dc47a4cbba388ce64efadd0f9
parent434b71bc6f4420b5af32fd085d5d13ac64d3e6f8 (diff)
downloadprosody-86822ee5e4dadd72ed000669dcbecebdf57f87cb.tar.gz
prosody-86822ee5e4dadd72ed000669dcbecebdf57f87cb.zip
mod_storage_sql2: Add missing return to upgrade_table(), so we know if an upgrade is required
-rw-r--r--plugins/mod_storage_sql2.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua
index bba27748..59c50b5a 100644
--- a/plugins/mod_storage_sql2.lua
+++ b/plugins/mod_storage_sql2.lua
@@ -376,6 +376,7 @@ local function upgrade_table(params, apply_changes)
return false;
end
end
+ return changes;
end
local function normalize_params(params)