diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-03-16 11:23:07 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-03-16 13:03:17 -0400 |
| commit | 8945b82f5261b2c815634d33c78608252ddbd878 (patch) | |
| tree | 7d2a5ecac26ab9bf19103ed3542cd1caa448e634 /lib/sqlalchemy/testing/plugin | |
| parent | fb9099d8c4b0bca350d1a88e22fcfb6a8f2d079d (diff) | |
| download | sqlalchemy-8945b82f5261b2c815634d33c78608252ddbd878.tar.gz | |
Turn off pyodbc setinputsizes() by default
Fixed regression where a new setinputsizes() API that's available for
pyodbc was enabled, which is apparently incompatible with pyodbc's
fast_executemany() mode in the absence of more accurate typing information,
which as of yet is not fully implemented or tested. The pyodbc dialect and
connector has been modified so that setinputsizes() is not used at all
unless the parameter ``use_setinputsizes`` is passed to the dialect, e.g.
via :func:`_sa.create_engine`, at which point its behavior can be
customized using the :meth:`.DialectEvents.do_setinputsizes` hook.
Fixes: #6058
Change-Id: I99c2be3a5cd76fc3e490d10865292ed85ffc23ae
Diffstat (limited to 'lib/sqlalchemy/testing/plugin')
0 files changed, 0 insertions, 0 deletions
