projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7422851
)
mod_storage_sql: Log error when failing to update MySQL schema
author
Matthew Wild
<mwild1@gmail.com>
Fri, 3 Jun 2011 04:34:22 +0000
(
05:34
+0100)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 3 Jun 2011 04:34:22 +0000
(
05:34
+0100)
plugins/mod_storage_sql.lua
patch
|
blob
|
history
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