diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-02-10 22:46:18 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-02-10 22:46:18 +0100 |
commit | 156481371306db532d6b3880d0914e9237b93685 (patch) | |
tree | e523a9e2dfc0775a682549644a4f8fb0df77e7ec /system/database/drivers/mysqli/mysqli_driver.php | |
parent | 26c7a9c3757b27a632be453be7adb4eca29baa2f (diff) |
changes for enhanced database compatibility
Diffstat (limited to 'system/database/drivers/mysqli/mysqli_driver.php')
-rw-r--r-- | system/database/drivers/mysqli/mysqli_driver.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php index b6d1cba77..31c27117c 100644 --- a/system/database/drivers/mysqli/mysqli_driver.php +++ b/system/database/drivers/mysqli/mysqli_driver.php @@ -96,7 +96,8 @@ class CI_DB_mysqli_driver extends CI_DB { */
function db_set_charset($charset, $collation)
{
- return @mysqli_query($this->conn_id, "SET NAMES '".$this->escape_str($charset)."' COLLATE '".$this->escape_str($collation)."'");
+ // TODO - add support if needed
+ return TRUE;
}
// --------------------------------------------------------------------
|