Minor updates

This commit is contained in:
Timothy Warren 2012-02-13 16:06:07 -05:00
parent 26e03c3962
commit bd25b20637
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,8 @@ class firebird {
*/
function __destruct()
{
ibase_close($this->conn);
@ibase_close($this->conn);
@ibase_free_result($this->statement);
}
/**

View File

@ -118,7 +118,7 @@ SQL;
*/
function num_rows()
{
// TODO: Implement
return (isset($this->statement)) ? $this->statment->rowCount : FALSE;
}
}
//End of sqlite.php