diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-03 02:48:12 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-03 02:48:12 +0100 |
commit | 8e89df8f92444eb02dc73b6c3e66077a4fb3f710 (patch) | |
tree | 9336b4d9d564a1219285c53f942d1fde3e79a277 /system/database/drivers/mysql | |
parent | 08856b8738ea4fc17b13986c9f2619383cb4a6e9 (diff) |
Add db_set_charset() support for PostgreSQL and change its implementation for 'mysql'
Diffstat (limited to 'system/database/drivers/mysql')
-rw-r--r-- | system/database/drivers/mysql/mysql_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php index 7108a6db1..84f7791c7 100644 --- a/system/database/drivers/mysql/mysql_driver.php +++ b/system/database/drivers/mysql/mysql_driver.php @@ -147,7 +147,7 @@ class CI_DB_mysql_driver extends CI_DB { * @param string * @return bool */ - public function db_set_charset($charset, $collation) + protected function _db_set_charset($charset, $collation) { return function_exists('mysql_set_charset') ? @mysql_set_charset($charset, $this->conn_id) |