SF.net SVN: postfixadmin:[790] trunk/upgrade.php
Brought to you by:
christian_boltz,
gingerdog
|
From: <chr...@us...> - 2009-12-15 17:21:19
|
Revision: 790
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=790&view=rev
Author: christian_boltz
Date: 2009-12-15 17:21:10 +0000 (Tue, 15 Dec 2009)
Log Message:
-----------
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)
Modified Paths:
--------------
trunk/upgrade.php
Modified: trunk/upgrade.php
===================================================================
--- trunk/upgrade.php 2009-12-14 00:12:43 UTC (rev 789)
+++ trunk/upgrade.php 2009-12-15 17:21:10 UTC (rev 790)
@@ -336,7 +336,7 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|