Browse files

Fixed a bug which would raise an exception as "cubrid_affected_rows()…

…" function requires Result resource not Connection resouse. If parameter is omitted, it returns correctly the number of affected rows frrom the last query.
  • Loading branch information...
1 parent 240a340 commit abffbceee7bbf217e07658ec700fe3dd9e405b54 @kadishmal kadishmal committed Feb 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/database/drivers/cubrid/cubrid_driver.php
View
2 system/database/drivers/cubrid/cubrid_driver.php
@@ -296,7 +296,7 @@ public function escape_str($str, $like = FALSE)
*/
public function affected_rows()
{
- return @cubrid_affected_rows($this->conn_id);
+ return @cubrid_affected_rows();
}
// --------------------------------------------------------------------

0 comments on commit abffbce

Please sign in to comment.