summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-05-18 19:01:47 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-05-18 19:01:47 +0000
commit9102d678abdaf7e9ab0ce59a913283eb16810b9a (patch)
tree5d4be18fb9975437171de3f9e5021389311ef541 /lib/sqlalchemy/sql.py
parentaeecb08490a44f86bd1c115864f1781c24018f07 (diff)
downloadsqlalchemy-9102d678abdaf7e9ab0ce59a913283eb16810b9a.tar.gz
- removed "no group by's in a select thats part of a UNION"
restriction [ticket:578]
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r--lib/sqlalchemy/sql.py1
1 files changed, 0 insertions, 1 deletions
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]))