- Merging
This commit is contained in:
commit
5a5d326d70
33 files changed
+763
-423
No files matched your search
@@ -49,7 +49,12 @@ class PdoObject extends PDO {
|
||||
if (false !== ( $statement = $this->prepare($sql) )) {
|
||||
return $this->execute($statement, $parameters, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(\PDOException $pdo) {
|
||||
if ( substr($pdo->getMessage(), 0, 30) !== 'There is no active transaction' ) {
|
||||
throw $pdo;
|
||||
}
|
||||
}
|
||||
catch (\Throwable $e) {
|
||||
throw new \PdoException($e->getMessage() . " `$sql` with data:" . json_encode($parameters));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user