diff --git a/sys/db/drivers/firebird.php b/sys/db/drivers/firebird.php index 00871a0..c1bb196 100644 --- a/sys/db/drivers/firebird.php +++ b/sys/db/drivers/firebird.php @@ -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(); } // -------------------------------------------------------------------------- diff --git a/tests/test_dbs/FB_TEST_DB.FDB b/tests/test_dbs/FB_TEST_DB.FDB index 0b007b2..c578805 100755 Binary files a/tests/test_dbs/FB_TEST_DB.FDB and b/tests/test_dbs/FB_TEST_DB.FDB differ