Firebird cleanup

This commit is contained in:
Timothy Warren 2012-04-18 11:42:19 -04:00
parent 5a4f6a3455
commit c12fcd9c09

View File

@ -19,7 +19,12 @@
*/
class Firebird extends DB_PDO {
protected $statement, $statement_link, $trans, $count, $result, $conn;
protected $statement,
$statement_link,
$trans,
$count,
$result,
$conn;
/**
* Open the link to the database
@ -217,6 +222,18 @@ class Firebird extends DB_PDO {
return array(0, $code, $msg);
}
// --------------------------------------------------------------------------
/**
* Method to emulate PDO->errorCode
*
* @return array
*/
public function errorCode()
{
return fbird_errcode();
}
// --------------------------------------------------------------------------