From 20d2aab24f79981adce5aa05869656b76c8b99f5 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Tue, 15 Dec 2009 17:21:10 +0000 Subject: [PATCH] upgrade.php - function upgrade_1_mysql(): change default charset of vacation table to latin1. Otherwise table creation breaks with MySQL 6. Fields that need to be utf-8 are changed to utf-8 later anyways. (Found by mechno on #postfixadmin) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@790 a1433add-5e2c-0410-b055-b7f2511e0802 --- upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade.php b/upgrade.php index e25ac8d1..25293496 100644 --- a/upgrade.php +++ b/upgrade.php @@ -336,7 +336,7 @@ function upgrade_1_mysql() { active tinyint(4) NOT NULL default '1', PRIMARY KEY (email), KEY email (email) - ) {INNODB} DEFAULT CHARSET=utf8 COMMENT='Postfix Admin - Virtual Vacation' ;"; + ) {INNODB} DEFAULT CHARSET=latin1 COMMENT='Postfix Admin - Virtual Vacation' ;"; foreach($sql as $query) { db_query_parsed($query);