summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-01-26 01:04:37 +0100
committerAndrey Andreev <narf@bofh.bg>2012-01-26 01:04:37 +0100
commit0e8968ab7c309d17cd61079f7554ced1411a8792 (patch)
tree1fe173a25d1f2857f0cdc4bf34023d5d7314fc4e /system/database/DB_driver.php
parented6485b7c72cf1d1c0ce1a329677a47f8840098a (diff)
Improve the SQLSRV (MSSQL) 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..82e5d0486 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', 'sqlsrv');
if (in_array($this->dbdriver, $driver_version_exceptions))
{