plugins/mod_storage_sql.lua
changeset 4297 3421dfaa8188
parent 4285 c806a599224a
child 4309 7ad81d81f5ec
equal deleted inserted replaced
4294:d2406f0ce8a5 4297:3421dfaa8188
   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