Added additional "disconnect" message "Error writing data to the
connection" to Firebird disconnection detection. Pull request courtesy
lukens.
Fixes: #4903
Closes: #4904
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4904
Pull-request-sha:
c56d7c4abf6b6c8263efaf070b4e7a319e12a875
Change-Id: Ib70c20c616e7519b933fee587a3b3e8dbb4c2f81
(cherry picked from commit
31e3fc94ad268cf762f564209113d66221b04b42)
--- /dev/null
+.. change::
+ :tags: bug, firebird
+ :tickets: 4903
+
+ Added additional "disconnect" message "Error writing data to the
+ connection" to Firebird disconnection detection. Pull request courtesy
+ lukens.
):
msg = str(e)
return (
- "Unable to complete network request to host" in msg
+ "Error writing data to the connection" in msg
+ or "Unable to complete network request to host" in msg
or "Invalid connection state" in msg
or "Invalid cursor state" in msg
or "connection shutdown" in msg