diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-08-31 11:30:03 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-08-31 11:30:21 -0400 |
| commit | 161209c70adde092e953d9ac7e3e7355a7df579a (patch) | |
| tree | c9b95bb613ca27978652fe92603a4ca8eefde433 /lib/sqlalchemy/sql/crud.py | |
| parent | fa1211eec934e105508e18f50a6607cfb839914f (diff) | |
| download | sqlalchemy-161209c70adde092e953d9ac7e3e7355a7df579a.tar.gz | |
- Fixed regression in 1.0-released default-processor for multi-VALUES
insert statement, :ticket:`3288`, where the column type for the
default-holding column would not be propagated to the compiled
statement in the case where the default was being used,
leading to bind-level type handlers not being invoked.
fixes #3520
(cherry picked from commit c39ff9978dbb77cbea4f1ee08234887d8aa1b165)
Diffstat (limited to 'lib/sqlalchemy/sql/crud.py')
| -rw-r--r-- | lib/sqlalchemy/sql/crud.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/crud.py b/lib/sqlalchemy/sql/crud.py index 2e39f6b36..e6f16b698 100644 --- a/lib/sqlalchemy/sql/crud.py +++ b/lib/sqlalchemy/sql/crud.py @@ -319,6 +319,7 @@ class _multiparam_column(elements.ColumnElement): self.key = "%s_%d" % (original.key, index + 1) self.original = original self.default = original.default + self.type = original.type def __eq__(self, other): return isinstance(other, _multiparam_column) and \ |
