From: Mike Bayer Date: Tue, 9 Nov 2021 20:04:22 +0000 (-0500) Subject: revert mis-commit from aa026c302c6b188a7e28508f9ecb603809b9e03f X-Git-Tag: rel_2_0_0b1~661 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b1d59a95479802b5d568999e751f637ac310879;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git revert mis-commit from aa026c302c6b188a7e28508f9ecb603809b9e03f A scratch line from #7269 was inadvertently committed here. this needs to be in its own commit w/ tests. Change-Id: I62796e18b05bbbd3b6225e9f27e1e63ab98cf24c --- diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 4611c5e13c..646b49f22e 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -3216,8 +3216,6 @@ 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 )