]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- this pymssql test needs to be against the pymssql dialect
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Apr 2013 21:41:30 +0000 (17:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Apr 2013 21:41:30 +0000 (17:41 -0400)
commit0790efcf87a268fd8bc810b711fe2b9760bcf1e6
treef53ebd26adec21c594ffc02d254119a2c7b6013b
parent835f0abb59c10c1204884df1a19f088cf55d49d7
- this pymssql test needs to be against the pymssql dialect
- Part of a longer series of fixes needed for pyodbc+
      mssql, a CAST to NVARCHAR(max) has been added to the bound
      parameter for the table name and schema name in all information schema
      queries to avoid the issue of comparing NVARCHAR to NTEXT,
      which seems to be rejected by the ODBC driver in some cases,
      such as FreeTDS (0.91 only?) plus unicode bound parameters being passed.
      The issue seems to be specific to the SQL Server information
      schema tables and the workaround is harmless for those cases
      where the problem doesn't exist in the first place.
[ticket:2355]
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/dialects/mssql/information_schema.py
test/dialect/test_mssql.py