#11916: Extra params + aggregation creates incorrect SQL.
---------------------------------------------------+------------------------
Reporter: [email protected] | Owner: nobody
Status: new | Milestone: 1.2
Component: Database layer (models, ORM) | Version: 1.1
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by paluh):
@tobias - I changed your tests to doctest because I missed
aggregation_regress/tests.py and wanted to be consistent with existing
testing style from models.py. In patch which I'm providing now your test
code is in tests.py. Sorry for this mess.
@ikelly - test should skip if oracle is used. I've not provided test for
scalar expressions in extra select because they seems to work fine without
this fix.
--
Ticket URL: <http://code.djangoproject.com/ticket/11916#comment:17>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.