Minor updates
This commit is contained in:
parent
26e03c3962
commit
bd25b20637
@ -42,7 +42,8 @@ class firebird {
|
|||||||
*/
|
*/
|
||||||
function __destruct()
|
function __destruct()
|
||||||
{
|
{
|
||||||
ibase_close($this->conn);
|
@ibase_close($this->conn);
|
||||||
|
@ibase_free_result($this->statement);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -118,7 +118,7 @@ SQL;
|
|||||||
*/
|
*/
|
||||||
function num_rows()
|
function num_rows()
|
||||||
{
|
{
|
||||||
// TODO: Implement
|
return (isset($this->statement)) ? $this->statment->rowCount : FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//End of sqlite.php
|
//End of sqlite.php
|
Reference in New Issue
Block a user