equal
deleted
inserted
replaced
106 if ok and commit_ok then |
106 if ok and commit_ok then |
107 module:log("info", "Database table automatically upgraded"); |
107 module:log("info", "Database table automatically upgraded"); |
108 end |
108 end |
109 end |
109 end |
110 repeat until not stmt:fetch(); |
110 repeat until not stmt:fetch(); |
|
111 else |
|
112 module:log("error", "Failed to upgrade database schema, please see http://prosody.im/doc/mysql for help"); |
111 end |
113 end |
112 end |
114 end |
113 end |
115 end |
114 end |
116 end |
115 |
117 |