summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlsrv
diff options
context:
space:
mode:
authorAlex Bilbie <alex.bilbie@gmail.com>2011-03-13 00:43:54 +0100
committerAlex Bilbie <alex.bilbie@gmail.com>2011-03-13 00:43:54 +0100
commit56e204079b8b3951abca5165ca815b75d37bf03d (patch)
treed0172b382237b993c9281c8cc3d3294b48f6124d /system/database/drivers/sqlsrv
parent5336ee283c764a8f3ef9baa746324d7f6a26499f (diff)
Updated affected_rows
Diffstat (limited to 'system/database/drivers/sqlsrv')
-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);
}
// --------------------------------------------------------------------