]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix regression when reflecting tables in MSSQL
authorFederico Caselli <cfederico87@gmail.com>
Thu, 16 Apr 2020 21:01:03 +0000 (23:01 +0200)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 22 Apr 2020 15:05:15 +0000 (11:05 -0400)
commit50d283af1a254ef981ac9a2466399b4828de0117
tree239d0bac13f09e05c5713876b2d0c65c16f2c818
parentf911e191d69e649ef8280309be9b0bb4d414d53d
Fix regression when reflecting tables in MSSQL

Fix a regression introduced by the reflection of computed column in
MSSQL when using SQL server versions before 2012, which does not support
the ``concat`` function and when using the legacy TDS version 4.2.
The dialect will try to detect the protocol version of first connect
and run in compatibility mode if it cannot detect it.

Fixes: #5255
Fixes: #5271
Change-Id: I7b33f7889ac0784cd8ae5385cbd50bc8c862398a
doc/build/changelog/unreleased_13/5255.rst [new file with mode: 0644]
doc/build/changelog/unreleased_13/5271.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py