This was causing some disruption in tests because "SET CHARSET" changes

conection charset to default DB charset and not to the specified 'utf8'.
This commit is contained in:
stronk7 2006-01-13 14:26:53 +00:00
parent ac4d156c33
commit 2c76ad371b

View File

@ -147,7 +147,6 @@ global $HTTPSPAGEREQUIRED;
if ($dbconnected && $CFG->unicodedb) {
if ($db->databaseType == 'mysql') {
$db->Execute("SET NAMES 'utf8'");
$db->Execute("SET CHARSET 'utf8'"); /// This could be not necessary if DB is set to Unicode, but...
} else if ($db->databaseType == 'postgres7') {
$db->Execute("SET NAMES 'utf8'");
}