Adds default sql indexes and table optimisations (#24277)

* adds default sql indexes and table optimisations

* fixes warnings
This commit is contained in:
Jordie
2017-02-21 07:49:48 +11:00
committed by oranges
parent f06f287859
commit 62da82fcd9
12 changed files with 480 additions and 235 deletions

View File

@@ -249,7 +249,7 @@
else
message_admins("Ban process: A mob matching [playermob.ckey] was found at location [playermob.x], [playermob.y], [playermob.z]. Custom ip and computer id fields replaced with the ip and computer id from the located mob.")
if(!DB_ban_record(bantype, playermob, banduration, banreason, banjob, null, banckey, banip, bancid ))
if(!DB_ban_record(bantype, playermob, banduration, banreason, banjob, banckey, banip, bancid ))
usr << "<span class='danger'>Failed to apply ban.</span>"
return
create_message("note", banckey, null, banreason, null, null, 0, 0)