]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix / consolidate for SQL Server BINARY, VARBINARY
authorBen Shen <bshen@telesign.com>
Fri, 20 Oct 2017 15:31:59 +0000 (11:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 25 Oct 2017 14:50:54 +0000 (10:50 -0400)
commitcd3db26cc90fcb896120b05e17528cc4c7c8e82e
tree5a75f8601bf4c078a0c86a07b58e110ddeeef68c
parentf34b180ca9059a74c3bf1db1b79e187c3f4b81c9
Fix / consolidate for SQL Server BINARY, VARBINARY

Fixed bug where sqltypes.BINARY and sqltypes.VARBINARY datatypes
would not include correct bound-value handlers for pyodbc,
which allows the pyodbc.NullParam value to be passed that
helps with FreeTDS.

Co-authored by: Mike Bayer <mike_mp@zzzcomputing.com>
Change-Id: I6e3c16a69465b4fbc7b17a1927fb5e66acee93cb
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/386
Fixes: #4121
doc/build/changelog/unreleased_12/4121.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/mssql/pyodbc.py
test/dialect/mssql/test_types.py