summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-02-10 14:06:41 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2016-02-10 14:06:41 -0500
commit2d7938c3864a75f056ade70db803c021e631827a (patch)
tree17d8455d430bf2fec3283fd03d79130e50a7b574 /lib/sqlalchemy/sql/compiler.py
parent287aaa9d416b4f72179da320af0624b9ebc43846 (diff)
downloadsqlalchemy-2d7938c3864a75f056ade70db803c021e631827a.tar.gz
- step 1 - add cte(), some docs, a test, get to the point where
we see that the "self.isupdate" thing is conflicting
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r--lib/sqlalchemy/sql/compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py
index cc9a49a91..43276ac4f 100644
--- a/lib/sqlalchemy/sql/compiler.py
+++ b/lib/sqlalchemy/sql/compiler.py
@@ -1972,8 +1972,8 @@ class SQLCompiler(Compiled):
MySQL overrides this.
"""
- return from_table._compiler_dispatch(self, asfrom=True,
- iscrud=True, **kw)
+ kw['asfrom'] = True
+ return from_table._compiler_dispatch(self, iscrud=True, **kw)
def update_from_clause(self, update_stmt,
from_table, extra_froms,