Minor Firebird fixes

This commit is contained in:
Timothy Warren 2012-04-06 16:41:45 -04:00
parent 13b3f36d02
commit 13aa64d24d
2 changed files with 3 additions and 3 deletions

View File

@ -519,6 +519,7 @@ class Firebird_Result {
// Let php do all the hard stuff in converting
// the array of arguments into a list of arguments
// Then pass the resource to the constructor
$this->__construct(call_user_func_array('fbird_execute', $args));
return $this;
@ -531,10 +532,9 @@ class Firebird_Result {
*
* @return int
*/
public function rowCount($statement="")
public function rowCount()
{
$statement = $statement OR $this->statement;
return fbird_affected_rows($statement);
return fbird_affected_rows();
}
// --------------------------------------------------------------------------

Binary file not shown.