From b54e71f2356910049cb55ba3236eef715c8c7493 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mon, 5 Nov 2007 23:23:19 +0000 Subject: [PATCH] - rename placeholder {UTF_8} to the more obvious {UTF-8} This also fixes my last commit ;-) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@202 a1433add-5e2c-0410-b055-b7f2511e0802 --- upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upgrade.php b/upgrade.php index 88b4d683..00b38f7d 100644 --- a/upgrade.php +++ b/upgrade.php @@ -93,7 +93,7 @@ function db_query_parsed($sql, $ignore_errors = 0, $attach_mysql = "") { '{UNSIGNED}' => 'unsigned' , '{FULLTEXT}' => 'FULLTEXT', '{BOOLEAN}' => 'tinyint(1) NOT NULL', - '{UTF_8}' => '/*!40100 CHARACTER SET utf8 COLLATE utf8_unicode_ci */', + '{UTF-8}' => '/*!40100 CHARACTER SET utf8 COLLATE utf8_unicode_ci */', '{LATIN1}' => '/*!40100 CHARACTER SET latin1 COLLATE latin1_swedish_ci */', '{IF_NOT_EXISTS}' => 'IF NOT EXISTS', '{RENAME_COLUMN}' => 'CHANGE COLUMN', @@ -107,7 +107,7 @@ function db_query_parsed($sql, $ignore_errors = 0, $attach_mysql = "") { '{UNSIGNED}' => '', '{FULLTEXT}' => '', '{BOOLEAN}' => 'BOOLEAN NOT NULL', - '{UTF_8}' => '', # TODO: UTF_8 is simply ignored. + '{UTF-8}' => '', # TODO: UTF-8 is simply ignored. '{LATIN1}' => '', # TODO: same for latin1 '{IF_NOT_EXISTS}' => 'IF NOT EXISTS', # TODO: does this work with PgSQL? '{RENAME_COLUMN}' => 'CHANGE COLUMN', # TODO: probably wrong