summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--sql-files/main.sql2
-rw-r--r--sql-files/upgrade_svn8630.sql1
3 files changed, 5 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 3a4810cac..cd0db0742 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2006/09/05
+ * Fixed connect_until field being a smallint rather than int in the login
+ table (upgrade with upgrade_svn8630.sql) [Skotlex]
2006/09/04
* Fixed crash when using Adaptation during an Encore. [Skotlex]
* Should have fixed manner being reset to 0 on logout while muted.
diff --git a/sql-files/main.sql b/sql-files/main.sql
index ecf8fd01b..17846b319 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -400,7 +400,7 @@ CREATE TABLE `login` (
`email` varchar(60) NOT NULL default '',
`level` tinyint(3) NOT NULL default '0',
`error_message` smallint(11) unsigned NOT NULL default '0',
- `connect_until` smallint(11) unsigned NOT NULL default '0',
+ `connect_until` int(11) unsigned NOT NULL default '0',
`last_ip` varchar(100) NOT NULL default '',
`memo` smallint(11) unsigned NOT NULL default '0',
`ban_until` int(11) unsigned NOT NULL default '0',
diff --git a/sql-files/upgrade_svn8630.sql b/sql-files/upgrade_svn8630.sql
new file mode 100644
index 000000000..a94dbf116
--- /dev/null
+++ b/sql-files/upgrade_svn8630.sql
@@ -0,0 +1 @@
+ALTER TABLE `login` MODIFY `connect_until` int(11) unsigned NOT NULL default '0';