summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2011-08-24 14:29:05 +0200
committerTimothy Warren <tim@timshomepage.net>2011-08-24 14:29:05 +0200
commit36fb8de7bf385036f3145dd1fbd9537f6a01ac36 (patch)
tree6ead80b2bb8c5ab86a084bf88760d57a130243db /system/database/DB_driver.php
parent0261596e96446ee5435407abb478204b0c4f79cf (diff)
Updated version function to use PDO constant
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 f3e824daa..f9bf118fb 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))
{