- attached multiple_labels_test.patch
redundant label for expression contained in another expression
Issue #1747
resolved
We've found a bug in newest SQLAlchemy 0.6b2 (Python 2.6) when testing our system that currently runs on 0.5.6
The query used in our system is very complex but I was able to reproduce the bug with a simple query (see attached patch to one of test cases)
The output is:
SELECT sum(lala(users.id) AS foo) AS bar FROM users
while it should be:
SELECT sum(lala(users.id)) AS bar FROM users
This works correctly in 0.5.6 (at least the complex query from our system - I do not have 0.5.6 sources at the moment to test with attached test case patch)
Comments (3)
-
Account Deleted -
repo owner - changed status to resolved
-
repo owner - removed milestone
Removing milestone: 0.6.0 (automated comment)
- Log in to comment
test case patch