From b360dbf7ebb7cc5bb290847fdd9818d205244a94 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 31 Jan 2014 17:57:17 -0500 Subject: - Fixed bug whereby SQLite compiler failed to propagate compiler arguments such as "literal binds" into a CAST expression. - Fixed bug whereby binary type would fail in some cases if used with a "test" dialect, such as a DefaultDialect or other dialect with no DBAPI. - Fixed bug where "literal binds" wouldn't work with a bound parameter that's a binary type. A similar, but different, issue is fixed in 0.8. --- lib/sqlalchemy/sql/compiler.py | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/sqlalchemy/sql/compiler.py') diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 4448f7c7b..673e5f89b 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -961,7 +961,6 @@ class SQLCompiler(Compiled): literal_binds=False, skip_bind_expression=False, **kwargs): - if not skip_bind_expression and bindparam.type._has_bind_expression: bind_expression = bindparam.type.bind_expression(bindparam) return self.process(bind_expression, -- cgit v1.2.1