diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-10-04 18:24:10 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-10-04 18:24:10 +0200 |
commit | 12a1747148175f9cfeb01f99ede42d5039f667e5 (patch) | |
tree | 4ddbfbb8871c0ab02674da66086b20da8377e247 /system/database/DB_driver.php | |
parent | 8706a5dd93d7740c30660727b99b554e00b0565b (diff) | |
parent | 3fdb613ee7c1968435edb81dcb9a59f42be6de6e (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.php | 2 |
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)) { |