Skip to content

Commit 97e12c8

Browse files
committed
Throw more concrete exceptiontypes. E.g. for dead-locks
1 parent d1eb7aa commit 97e12c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Databases/MySQL.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ class MySQL implements Database {
2626
private $transactionLevel = 0;
2727
/** @var QueryLoggers */
2828
private $queryLoggers = 0;
29+
/** @var MySQLExceptionInterpreter */
30+
private $exceptionInterpreter = 0;
2931

3032
/**
3133
* @param PDO $pdo

0 commit comments

Comments
 (0)