]> 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:39:54 +0000 (09:39 -0400)
commit6a38697261e271b3600d8f1bbc56f663e5ee9890
tree763bbb37be51f74bb4d09c2940f54aa30bcbb4d5
parentdc4d1ee7bdf8f9670057e916a29f1f5252e77207
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
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