]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add "The server failed to resume the transaction" to pymssql
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Sep 2024 15:22:36 +0000 (11:22 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Sep 2024 19:20:38 +0000 (15:20 -0400)
commite787c1c5a94d419984e55ad3f1a6f30ff059be05
treecdc2b8a84d54334083271c43f61bf1b6129f0a3c
parent42ec1f70138d51dd7e61578453faa0f4d47f6ec3
add "The server failed to resume the transaction" to pymssql

Added error "The server failed to resume the transaction" to the list of
error strings for the pymssql driver in determining a disconnect scenario,
as observed by one user using pymssql under otherwise unknown conditions as
leaving an unusable connection in the connection pool which fails to ping
cleanly.

Fixes: #11822
Change-Id: I1cf98046978b10775f19531878b597d32b056f13
(cherry picked from commit ac5a27db854fe9f6fbad5b93130e4a9c19405f3a)
doc/build/changelog/unreleased_20/11822.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/pymssql.py
test/dialect/mssql/test_engine.py