Skip to content

Commit

Permalink
typo in modification to MySQLi driver. Fixes bcit-ci#236
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Jones committed Apr 22, 2011
1 parent 26a83f1 commit 8a4a1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/drivers/mysqli/mysqli_driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function _db_set_charset($charset, $collation)
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)
Expand Down

0 comments on commit 8a4a1b1

Please sign in to comment.