diff options
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index ba4842278..9c82cd4aa 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -362,9 +362,6 @@ class DefaultCompiler(engine.Compiled): def visit_bindparam(self, bindparam, **kwargs): # apply truncation to the ultimate generated name - if bindparam.shortname != bindparam.key: - self.binds.setdefault(bindparam.shortname, bindparam) - if bindparam.unique: count = 1 key = bindparam.key |