fix mdb2 error handeling a bit
This commit is contained in:
parent
b7aba15f17
commit
e7c91b55b7
|
@ -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
|
if ($err->getMode() !== PEAR_ERROR_RETURN
|
||||||
&& isset($this->nested_transaction_counter) && !$this->has_transaction_error) {
|
&& isset($this->nested_transaction_counter) && !$this->has_transaction_error) {
|
||||||
$this->has_transaction_error =$err;
|
$this->has_transaction_error =$err;
|
||||||
|
|
Loading…
Reference in New Issue