diff options
author | valievkarim <valievkarim@gmail.com> | 2022-05-18 16:24:41 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-05-19 09:33:05 -0400 |
commit | de399c914b923ec3c81d3a51e16c7b720d34e058 (patch) | |
tree | 41519b4f0ecf1cbc211d5e098d2a7353ebb59d76 /test/dialect/postgresql/test_compiler.py | |
parent | 9e7bed9df601ead02fd96bf2fc787b23b536d2d6 (diff) | |
download | sqlalchemy-de399c914b923ec3c81d3a51e16c7b720d34e058.tar.gz |
Include new MySQL error code 4031 for MySQL disconnect check
Added disconnect code for MySQL error 4031, introduced in MySQL >= 8.0.24,
indicating connection idle timeout exceeded. In particular this repairs an
issue where pre-ping could not reconnect on a timed-out connection. Pull
request courtesy valievkarim.
Fixes: #8036
Closes: #8037
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/8037
Pull-request-sha: 7ab605c2d25c3cd83af41e3250c97c623220cc7a
Change-Id: I21249c9d8acb305ac43ce61b90b41daf7fabdfe8
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
0 files changed, 0 insertions, 0 deletions