From 9102d678abdaf7e9ab0ce59a913283eb16810b9a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 18 May 2007 19:01:47 +0000 Subject: - removed "no group by's in a select thats part of a UNION" restriction [ticket:578] --- lib/sqlalchemy/sql.py | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/sqlalchemy/sql.py') diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index 69cef08ca..35cd30b30 100644 --- a/lib/sqlalchemy/sql.py +++ b/lib/sqlalchemy/sql.py @@ -2686,7 +2686,6 @@ class CompoundSelect(_SelectBaseMixin, FromClause): # some DBs do not like ORDER BY in the inner queries of a UNION, etc. for s in selects: - s.group_by(None) s.order_by(None) self.group_by(*kwargs.pop('group_by', [None])) -- cgit v1.2.1