summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2021-10-31 20:48:33 +0000
committerGerrit Code Review <gerrit@ci3.zzzcomputing.com>2021-10-31 20:48:33 +0000
commitf5956e13d5bc456802a09a0ed89b3c596161e390 (patch)
treed02b0e34e549c9b00aaad6fef25edf7f000380e6 /lib/sqlalchemy/sql/compiler.py
parenta1adb21cbe83ecce467194ab0e3277db581dfa4d (diff)
parentaa026c302c6b188a7e28508f9ecb603809b9e03f (diff)
downloadsqlalchemy-f5956e13d5bc456802a09a0ed89b3c596161e390.tar.gz
Merge "2.0 removals: LegacyRow, connectionless execution, close_with_result" into main
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r--lib/sqlalchemy/sql/compiler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py
index 0cd568fcc..5c3fbb2b1 100644
--- a/lib/sqlalchemy/sql/compiler.py
+++ b/lib/sqlalchemy/sql/compiler.py
@@ -3186,6 +3186,8 @@ class SQLCompiler(Compiled):
# passed in. for ORM use this will convert from an ORM-state
# SELECT to a regular "Core" SELECT. other composed operations
# such as computation of joins will be performed.
+ kwargs["within_columns_clause"] = False
+
compile_state = select_stmt._compile_state_factory(
select_stmt, self, **kwargs
)