exception error mode actually won't work
This commit is contained in:
parent
5526097af4
commit
d99c09e575
1 changed files with 0 additions and 1 deletions
|
@ -26,7 +26,6 @@ abstract class AbstractDriver implements DSODriverInterface
|
||||||
public function pdo(\PDO $pdo = null): ?\PDO
|
public function pdo(\PDO $pdo = null): ?\PDO
|
||||||
{
|
{
|
||||||
if ($pdo) {
|
if ($pdo) {
|
||||||
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
|
||||||
$pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
|
$pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
|
||||||
$this->pdo = $pdo;
|
$this->pdo = $pdo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue