summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2011-04-23 00:37:19 +0200
committerDerek Jones <derek.jones@ellislab.com>2011-04-23 00:37:19 +0200
commitee21a0eebfac7f3de810d9f8c4f8271944b336bf (patch)
tree92adbdf20427192a03e11942824d9eb05dc7510b /system
parentc0b133c02e057b6506726b794ba4582bf18ed663 (diff)
typo in modification to MySQLi driver. Fixes #236
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/mysqli/mysqli_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php
index 1949acb6e..b8586c21d 100644
--- a/system/database/drivers/mysqli/mysqli_driver.php
+++ b/system/database/drivers/mysqli/mysqli_driver.php
@@ -137,7 +137,7 @@ class CI_DB_mysqli_driver extends CI_DB {
if ( ! isset($use_set_names))
{
// mysqli_set_charset() requires MySQL >= 5.0.7, use SET NAMES as fallback
- $use_set_names = (version_compare(mysql_get_server_info(), '5.0.7', '>=')) ? FALSE : TRUE;
+ $use_set_names = (version_compare(mysqli_get_server_info($this->conn_id), '5.0.7', '>=')) ? FALSE : TRUE;
}
if ($use_set_names)