Skip to content

Commit

Permalink
Properly handle MySQL error code 4031 from PHP 8.4
Browse files Browse the repository at this point in the history
It has been introduced in:
mysql/mysql-server@14508bb

And PHP 8.4 will support it:
php/php-src#13618
  • Loading branch information
mbeccati committed Apr 22, 2024
1 parent 7fb00fd commit 7fcbee7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Driver/API/MySQL/ExceptionConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public function convert(Exception $exception, ?Query $query): DriverException
2002,
2005,
2054 => new ConnectionException($exception, $query),
4031,
2006 => new ConnectionLost($exception, $query),
1048,
1121,
Expand Down

0 comments on commit 7fcbee7

Please sign in to comment.