ソースを参照

(very) Long emails were truncated because exeeding the body size

Signed-off-by: emanuele <[email protected]>
emanuele 12 年 前
コミット
b8b7794332
2 ファイル変更9 行追加1 行削除
  1. 1 1
      other/install_2-1_mysql.sql
  2. 8 0
      other/upgrade_2-1_mysql.sql

+ 1 - 1
other/install_2-1_mysql.sql

@@ -1151,7 +1151,7 @@ CREATE TABLE {$db_prefix}mail_queue (
   id_mail int(10) unsigned NOT NULL auto_increment,
   time_sent int(10) NOT NULL default '0',
   recipient varchar(255) NOT NULL default '',
-  body text NOT NULL,
+  body mediumtext NOT NULL,
   subject varchar(255) NOT NULL default '',
   headers text NOT NULL,
   send_html tinyint(3) NOT NULL default '0',

+ 8 - 0
other/upgrade_2-1_mysql.sql

@@ -174,3 +174,11 @@ VALUES
 ALTER TABLE {$db_prefix}boards
 ADD COLUMN deny_member_groups varchar(255) NOT NULL DEFAULT '';
 ---#
+
+/******************************************************************************/
+--- Fixing mail queue for long messages
+/******************************************************************************/
+---# Altering mil_queue table...
+ALTER TABLE {$db_prefix}mail_queue
+CHANGE body body mediumtext NOT NULL;
+---#