Firebird cleanup
This commit is contained in:
parent
5a4f6a3455
commit
c12fcd9c09
@ -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();
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user