From 5f341c79cb9dd9999a9ef9162732326a2885c7a5 Mon Sep 17 00:00:00 2001 From: vrana Date: Thu, 5 Apr 2012 17:23:29 -0700 Subject: [PATCH] Pass connection to mysql_set_charset() --- src/storage/connection/mysql/AphrontMySQLDatabaseConnection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/connection/mysql/AphrontMySQLDatabaseConnection.php b/src/storage/connection/mysql/AphrontMySQLDatabaseConnection.php index 9f570f862e..01d223b4a1 100644 --- a/src/storage/connection/mysql/AphrontMySQLDatabaseConnection.php +++ b/src/storage/connection/mysql/AphrontMySQLDatabaseConnection.php @@ -163,7 +163,7 @@ final class AphrontMySQLDatabaseConnection extends AphrontDatabaseConnection { if (!$ret) { $this->throwQueryException($conn); } - mysql_set_charset('utf8'); + mysql_set_charset('utf8', $conn); } $profiler->endServiceCall($call_id, array());