summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/crud.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-08-31 11:30:03 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-08-31 11:30:03 -0400
commitc39ff9978dbb77cbea4f1ee08234887d8aa1b165 (patch)
treef0d21317e0fc58a0eb3dc5c3487cd8d75a0fd7ec /lib/sqlalchemy/sql/crud.py
parent956907a4b15f6dcc492582a7ad03706ff62d96fb (diff)
downloadsqlalchemy-c39ff9978dbb77cbea4f1ee08234887d8aa1b165.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
Diffstat (limited to 'lib/sqlalchemy/sql/crud.py')
-rw-r--r--lib/sqlalchemy/sql/crud.py1
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 \