aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-06-03 05:34:22 +0100
committerMatthew Wild <mwild1@gmail.com>2011-06-03 05:34:22 +0100
commit6b16aa6794efb7d795aad4cc730f456515597949 (patch)
tree7248cd853161a0d0f4c2321b4a588c52534dfb52
parent27bc9300b89d76c5ef59e13653a9d67267830522 (diff)
downloadprosody-0.8.1.tar.gz
prosody-0.8.1.zip
mod_storage_sql: Log error when failing to update MySQL schemavault/0.8.10.8.1
-rw-r--r--plugins/mod_storage_sql.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index dd148704..57331ac0 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -108,6 +108,8 @@ local function create_table()
end
end
repeat until not stmt:fetch();
+ else
+ module:log("error", "Failed to upgrade database schema, please see http://prosody.im/doc/mysql for help");
end
end
end