From c5887c263b96f9a3bf128b3b53e63d68ff6b9392 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 27 Oct 2007 09:48:27 +0000 Subject: Followup fixes to r11583: * fixed wrong sql upgrade file name, added svn:eol-style native * made 'status' variable directly use the mail_status enum * replaced some hardcoded numbers in mail queries with references to the enum * fixed a query which still used 'read_flag' * fixed all new mails being displayed as 'already read' * removed sd nullpo checks from parse_ functions as that can never happen * fixed mapserver sending (and charserver saving) junk item fields when there is no item attached to a mail * fixed wrong mail send packet interpretation saving random memory after message body ('body_len' doesn't include the terminating zero) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11584 54d463be-8e91-2dee-dedb-b68131a5f0ec --- sql-files/upgrade_svn10582.sql | 1 - sql-files/upgrade_svn11582.sql | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 sql-files/upgrade_svn10582.sql create mode 100644 sql-files/upgrade_svn11582.sql (limited to 'sql-files') diff --git a/sql-files/upgrade_svn10582.sql b/sql-files/upgrade_svn10582.sql deleted file mode 100644 index 795fb1208..000000000 --- a/sql-files/upgrade_svn10582.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `mail` CHANGE `read_flag` `status` SMALLINT(2) NOT NULL default 0; diff --git a/sql-files/upgrade_svn11582.sql b/sql-files/upgrade_svn11582.sql new file mode 100644 index 000000000..484a993db --- /dev/null +++ b/sql-files/upgrade_svn11582.sql @@ -0,0 +1 @@ +ALTER TABLE `mail` CHANGE `read_flag` `status` TINYINT(2) NOT NULL default 0; -- cgit v1.2.3-60-g2f50