summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlsrv
diff options
context:
space:
mode:
authorGreg Aker <greg@gregaker.net>2011-08-21 20:00:07 +0200
committerGreg Aker <greg@gregaker.net>2011-08-21 20:00:07 +0200
commitb30f4fbdaa721101b7cc92f535bfe05b81e6b49c (patch)
treeab0afbb48b5eaeb130e1eb4c61682b2f9d7ef50f /system/database/drivers/sqlsrv
parent92ff07ee199d17a4dccd84114da8b66a95a4f56d (diff)
parent151b7a9abed49e76232ad195cc2c010bfc82f22a (diff)
Merge branch 'develop' into feature/unit-tests
Diffstat (limited to 'system/database/drivers/sqlsrv')
-rw-r--r--system/database/drivers/sqlsrv/sqlsrv_driver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_driver.php b/system/database/drivers/sqlsrv/sqlsrv_driver.php
index 1d32792ce..400fd31c6 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_driver.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -344,6 +344,7 @@ class CI_DB_sqlsrv_driver extends CI_DB {
return '0';
$row = $query->row();
+ $this->_reset_select();
return $row->numrows;
}