diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-15 12:25:38 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-15 12:25:38 -0400 |
commit | 3d7b18863813d98c66d76c5fbbba037d1ed18930 (patch) | |
tree | c33f34e6b72c208fa429bc03d9b811cfa61bb34a /lib/sqlalchemy/sql/elements.py | |
parent | f4653729a6ff952555c0192a5b0f0851c4d40ad5 (diff) | |
download | sqlalchemy-3d7b18863813d98c66d76c5fbbba037d1ed18930.tar.gz |
- Fixed a SQLite join rewriting issue where a subquery that is embedded
as a scalar subquery such as within an IN would receive inappropriate
substitutions from the enclosing query, if the same table were present
inside the subquery as were in the enclosing query such as in a
joined inheritance scenario.
fixes #3130
Diffstat (limited to 'lib/sqlalchemy/sql/elements.py')
-rw-r--r-- | lib/sqlalchemy/sql/elements.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py index 4f58f6141..ab07efee3 100644 --- a/lib/sqlalchemy/sql/elements.py +++ b/lib/sqlalchemy/sql/elements.py @@ -231,6 +231,7 @@ class ClauseElement(Visitable): is_clause_element = True _order_by_label_element = None + _is_from_container = False def _clone(self): """Create a shallow copy of this ClauseElement. |