projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mod_storage_sql: Log error when failing to update MySQL schema
[prosody.git]
/
plugins
/
mod_storage_sql.lua
diff --git
a/plugins/mod_storage_sql.lua
b/plugins/mod_storage_sql.lua
index dd1487044113d11ae965759f1a9192d58a7f265a..57331ac0a7c40895bd63990c5b07f1754b963bf7 100644
(file)
--- 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