]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix max_identifier_length for SQL server
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Oct 2019 20:12:30 +0000 (16:12 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Oct 2019 20:13:53 +0000 (16:13 -0400)
commitb7d7f980146a79f567d6f5e091932e59458bb6e4
treefb8d788403a7350a66a83da7516a67d87eb59d55
parentdf0fd41703959ad870bc553e7a46f98259439098
Fix max_identifier_length for SQL server

Fixed bug in SQL Server dialect with new "max_identifier_length" feature
where the mssql dialect already featured this flag, and the implementation
did not accommodate for the new initialization hook correctly.

Fixes: #4857
Change-Id: I96a9c6ca9549d8f6fb167c0333f684e8d922a3bf
(cherry picked from commit 2ba70aba90c69152641b2cce838b3afa35c8586c)
doc/build/changelog/unreleased_13/4857.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
test/sql/test_labels.py