diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-24 10:46:54 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-24 10:46:54 +0000 |
commit | b299b9ee21b42a6cd43b58109a4382e346d58cdf (patch) | |
tree | e10b1a16dda83d532bbdc7b5d4bb2498d6b2a2cf /includes | |
parent | 04daca23940e02ecc417b2f366759a1c80e1810d (diff) | |
download | brdo-b299b9ee21b42a6cd43b58109a4382e346d58cdf.tar.gz brdo-b299b9ee21b42a6cd43b58109a4382e346d58cdf.tar.bz2 |
#204411 by catch: elevate MySQL requirements to 4.1.1 (the first production MySQL 4.1.x was 4.1.5 anyway)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/database.mysql.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc index 0b2636c66..a71c2371a 100644 --- a/includes/database.mysql.inc +++ b/includes/database.mysql.inc @@ -80,10 +80,8 @@ function db_connect($url) { _db_error_page(mysql_error()); } - // On MySQL 4.1 and later, force UTF-8. - if (version_compare(mysql_get_server_info(), '4.1.0', '>=')) { - mysql_query('SET NAMES "utf8"', $connection); - } + // Force UTF-8. + mysql_query('SET NAMES "utf8"', $connection); return $connection; } |