From 750439ac5fc61f03a09226db5d82b36c8b86739e Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 7 Nov 2007 22:25:01 +0000 Subject: - 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 --- lib/sqlalchemy/sql/compiler.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/sqlalchemy/sql/compiler.py') 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 -- cgit v1.2.1