sql optimizations.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7198 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Euph 2006-06-16 06:25:02 +00:00
parent 0fb709f25a
commit c897622a1d
3 changed files with 1585 additions and 1580 deletions

View File

@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/06/15
* Added indexes for loginlog and ipbanlist as they did not have any.
(note, someone already put the index on loginlog on trunk.) [Euph]
* Merged Adam's patch to let the char-server handle validation of
pet-name-change requests through the allowed char letters config. [Skotlex]
* Fixed "wedding_ignore_palette: yes" not working when relogging with the

View File

@ -349,7 +349,8 @@ CREATE TABLE `ipbanlist` (
`list` varchar(255) NOT NULL default '',
`btime` datetime NOT NULL default '0000-00-00 00:00:00',
`rtime` datetime NOT NULL default '0000-00-00 00:00:00',
`reason` varchar(255) NOT NULL default ''
`reason` varchar(255) NOT NULL default '',
KEY (`list`)
) TYPE=MyISAM;
--

View File

@ -0,0 +1,2 @@
ALTER TABLE `loginlog` ADD INDEX ( `ip` );
ALTER TABLE `ipbanlist` ADD INDEX ( `list` );