summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers')
-rw-r--r--system/database/drivers/sqlsrv/sqlsrv_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_driver.php b/system/database/drivers/sqlsrv/sqlsrv_driver.php
index 25cc628df..e9c391786 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_driver.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -283,7 +283,7 @@ class CI_DB_mssql_driver extends CI_DB {
*/
function affected_rows()
{
- return @mssql_rows_affected($this->conn_id);
+ return @sqlrv_rows_affected($this->conn_id);
}
// --------------------------------------------------------------------