- Merging

This commit is contained in:
mcndave committed 2024-12-16 18:57:01 +00:00
commit 5a5d326d70
33 files changed
+763 -423

No files matched your search

+6 -1
View File
@@ -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));
}