summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--sql-files/main.sql2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index f9f5018a5..8e40c2e58 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -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/05/11
+ * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
+ [Skotlex]
* NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
of 40% per level. [Skotlex]
* Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
diff --git a/sql-files/main.sql b/sql-files/main.sql
index 718f811e9..eb77388fa 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -411,7 +411,7 @@ CREATE TABLE `loginlog` (
`user` varchar(32) NOT NULL default '',
`rcode` tinyint(4) NOT NULL default '0',
`log` varchar(255) NOT NULL default ''
- KEY (`ip`),
+ INDEX (`ip`),
) TYPE=MyISAM;
--