summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-10-04 18:24:10 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-10-04 18:24:10 +0200
commit12a1747148175f9cfeb01f99ede42d5039f667e5 (patch)
tree4ddbfbb8871c0ab02674da66086b20da8377e247 /system/database/DB_driver.php
parent8706a5dd93d7740c30660727b99b554e00b0565b (diff)
parent3fdb613ee7c1968435edb81dcb9a59f42be6de6e (diff)
Merge pull request #282 from timw4mail/develop
PDO driver for Database class.
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 17649f7b1..237a4fcea 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -218,7 +218,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');
+ $driver_version_exceptions = array('oci8', 'sqlite', 'cubrid', 'pdo');
if (in_array($this->dbdriver, $driver_version_exceptions))
{