summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-01-27 19:54:13 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-01-27 19:54:13 +0100
commit0c4fb6a578d23e5a0fa5c8ce41a75d2b2b1310e7 (patch)
tree09099689064cb390799a4e67a6cdceb61e89e2be /system/database/DB_driver.php
parent756e70c1d6b27b20c4e093d48466842fcba31a00 (diff)
parenta3c5cfca6b4a1ec183f3b3c9af88c7f686cf167e (diff)
Merge pull request #992 from narfbg/develop-db-mysqli
Improve the MySQLi database driver
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 661b42ced..7445a5069 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -257,7 +257,7 @@ class CI_DB_driver {
// Some DBs have functions that return the version, and don't run special
// SQL queries per se. In these instances, just return the result.
- $driver_version_exceptions = array('oci8', 'sqlite', 'cubrid', 'pdo');
+ $driver_version_exceptions = array('oci8', 'sqlite', 'cubrid', 'pdo', 'mysqli');
if (in_array($this->dbdriver, $driver_version_exceptions))
{