Corrected upgrade_svn12975_view.sql not assigning default values to the two dummy columns (bugreport:1940).
Please drop the view and re-run the script. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13010 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
5fcd3cf029
commit
f03a7e2413
@ -3,6 +3,9 @@ Date Added
|
|||||||
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
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.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
|
2008/07/29
|
||||||
|
* Corrected upgrade_svn12975_view.sql not assigning default values
|
||||||
|
to the two dummy columns; please drop the view and re-run the script.
|
||||||
2008/07/27
|
2008/07/27
|
||||||
* Fixed md5 passwords not working
|
* Fixed md5 passwords not working
|
||||||
* Possibly corrected a guild saving problem (bugreport:1908)
|
* Possibly corrected a guild saving problem (bugreport:1908)
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
|
|
||||||
-- create dummy columns, needed to make the view insertable
|
-- create dummy columns, needed to make the view insertable
|
||||||
ALTER TABLE `login` ADD `error_message` SMALLINT UNSIGNED NOT NULL;
|
ALTER TABLE `login` ADD `error_message` SMALLINT UNSIGNED NOT NULL DEFAULT '0';
|
||||||
ALTER TABLE `login` ADD `memo` SMALLINT UNSIGNED NOT NULL;
|
ALTER TABLE `login` ADD `memo` SMALLINT UNSIGNED NOT NULL DEFAULT '0';
|
||||||
|
|
||||||
-- create the view
|
-- create the view
|
||||||
CREATE VIEW `login_view` ( `account_id`, `userid`, `user_pass`, `lastlogin`, `sex`, `logincount`, `email`, `level`, `error_message`, `connect_until`, `last_ip`, `memo`, `ban_until`, `state` ) AS SELECT `account_id`, `userid`, `user_pass`, `lastlogin`, `sex`, `logincount`, `email`, `level`, `error_message`, `expiration_time`, `last_ip`, `memo`, `unban_time`, `state` FROM `login`;
|
CREATE VIEW `login_view` ( `account_id`, `userid`, `user_pass`, `lastlogin`, `sex`, `logincount`, `email`, `level`, `error_message`, `connect_until`, `last_ip`, `memo`, `ban_until`, `state` ) AS SELECT `account_id`, `userid`, `user_pass`, `lastlogin`, `sex`, `logincount`, `email`, `level`, `error_message`, `expiration_time`, `last_ip`, `memo`, `unban_time`, `state` FROM `login`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user