]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add MariaDB 1927 to is_disconnect codes
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 5 Aug 2020 14:31:21 +0000 (10:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 5 Aug 2020 14:31:21 +0000 (10:31 -0400)
commit2a946254023135eddd222974cf300ffaa5583f02
treeb8f08215e6b8f4708e57be7022b3a25980baee11
parentba9380ef28871b2274ab0bab75e5efddf2ced467
Add MariaDB 1927 to is_disconnect codes

Added MariaDB code 1927 to the list of "disconnect" codes, as recent
MariaDB versions apparently use this code when the database server was
stopped.

Fixes: #5493
Change-Id: I63f1d692f36cb0411ead278556e3f8c64ab72ea4
doc/build/changelog/unreleased_13/5493.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/mysql/test_dialect.py