summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-23 15:06:36 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-23 15:06:36 +0200
commitede49ba66b127535f3430e20aac72ceed2c4611a (patch)
tree388d0633d1ba86914b7327415fa0b6914663a7d6 /system/database
parent74cb495239927d5ea876459b179954e5bcc0488c (diff)
Fix a bug in CI_DB_sqlsrv_driver::affected_rows()
Diffstat (limited to 'system/database')
-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 8bd18bd76..bda450e88 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_driver.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -225,7 +225,7 @@ class CI_DB_sqlsrv_driver extends CI_DB {
*/
public function affected_rows()
{
- return sqlrv_rows_affected($this->result_id);
+ return sqlsrv_rows_affected($this->result_id);
}
// --------------------------------------------------------------------