]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add full list of pyodbc error codes for MSSQL
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Sep 2017 13:39:54 +0000 (09:39 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Sep 2017 13:41:40 +0000 (09:41 -0400)
commitaf70c3022f233f8cba00619a23d1f4a4173ad9e7
tree61597b0bd38f4447118ba920d8b940640e2bcd4e
parent171e6efd35656277040a14027aa9ddce7d1cfb1e
Add full list of pyodbc error codes for MSSQL

Moved the SQL server error codes out of connnectors/pyodbc.py
and into mssql/pyodbc.py.  Added complete list
of odbc-related disconnect codes.

Change-Id: Icd84a920dbfa1f188847f859654ff6f7a48170f1
Fixes: #4095
(cherry picked from commit 6a38697261e271b3600d8f1bbc56f663e5ee9890)
doc/build/changelog/unreleased_11/4095.rst [new file with mode: 0644]
lib/sqlalchemy/connectors/pyodbc.py
lib/sqlalchemy/dialects/mssql/pyodbc.py
test/dialect/mssql/test_engine.py