summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-11-07 22:25:01 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-11-07 22:25:01 +0000
commit750439ac5fc61f03a09226db5d82b36c8b86739e (patch)
treea54bbf8cf691a309fcf763e11183bd90e35099ae /lib/sqlalchemy/sql/compiler.py
parenta914fae9dbb43cfeadf63145fc392fff67cc3662 (diff)
downloadsqlalchemy-750439ac5fc61f03a09226db5d82b36c8b86739e.tar.gz
- fixed remainder of [ticket:853]
- bindparam 'shortname' is deprecated - fixed testing.assert_compile() to actually generate bind param dict before asserting - added bind param assertions to CRUDTest.test_update
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r--lib/sqlalchemy/sql/compiler.py3
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