fix mdb2 error handeling a bit
This commit is contained in:
parent
b7aba15f17
commit
e7c91b55b7
1 changed files with 1 additions and 1 deletions
|
@ -1500,7 +1500,7 @@ class MDB2_Driver_Common extends PEAR
|
|||
}
|
||||
}
|
||||
|
||||
$err = $this->raiseError(null, $code, $mode, $options, $userinfo, 'MDB2_Error', true);
|
||||
$err = PEAR::raiseError(null, $code, $mode, $options, $userinfo, 'MDB2_Error', true);
|
||||
if ($err->getMode() !== PEAR_ERROR_RETURN
|
||||
&& isset($this->nested_transaction_counter) && !$this->has_transaction_error) {
|
||||
$this->has_transaction_error =$err;
|
||||
|
|
Loading…
Reference in a new issue