From c9b03fa8afd52646aba8c59fc038330eeee6db60 Mon Sep 17 00:00:00 2001 From: Tim Tate Date: Tue, 2 Feb 2016 15:20:02 -0800 Subject: fix passing literal_binds flag through for update and insert --- lib/sqlalchemy/sql/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/sql/compiler.py') diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 2431e53cc..993956ef0 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -2045,7 +2045,7 @@ class SQLCompiler(Compiled): text += " " + extra_from_text if update_stmt._whereclause is not None: - t = self.process(update_stmt._whereclause) + t = self.process(update_stmt._whereclause, **kw) if t: text += " WHERE " + t -- cgit v1.2.1