Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit abffbceee7bbf217e07658ec700fe3dd9e405b54 1 parent 240a340
@kadishmal kadishmal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  system/database/drivers/cubrid/cubrid_driver.php
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();
// --------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.