]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add InternalError for mysqlclient disconnect
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 1 Sep 2017 16:31:38 +0000 (12:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 1 Sep 2017 16:32:44 +0000 (12:32 -0400)
commit4be865f79beae79a027561c979286f1dc5bc3fc9
treef11c7c6b94250cb68f06351355ddaa0a83c4aacd
parent5dc3eed55e9d1dd8d1f6535c2d693e17684380cc
Add InternalError for mysqlclient disconnect

mysqlclient as of 1.3.11 changed the exception
class for a particular disconnect situation from
InterfaceError to InternalError; the disconnection
detection logic now accommodates this.

Change-Id: I294f90f794491fd363548719222d8e3008480615
Fixes: #4065
(cherry picked from commit 65680b2343ef421a62582e23e2b35293732933ad)
doc/build/changelog/unreleased_10/4065.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py