Merge lp:~julian-edwards/launchpad/slow-ppa-search-bug-659129 into lp:launchpad/db-devel
Proposed by
Julian Edwards
on 2010-10-13
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Gavin Panella on 2010-10-14 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 9890 | ||||
| Proposed branch: | lp:~julian-edwards/launchpad/slow-ppa-search-bug-659129 | ||||
| Merge into: | lp:launchpad/db-devel | ||||
| Diff against target: |
11 lines (+1/-1) 1 file modified
lib/lp/registry/model/distribution.py (+1/-1) |
||||
| To merge this branch: | bzr merge lp:~julian-edwards/launchpad/slow-ppa-search-bug-659129 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gavin Panella (community) | Approve on 2010-10-14 | ||
| Graham Binns (community) | code | Approve on 2010-10-13 | |
| Robert Collins (community) | release-critical | 2010-10-13 | Approve on 2010-10-13 |
|
Review via email:
|
|||
Commit Message
Prevent the /ubuntu/+ppas page from timing out by fixing a slow query that PG8.4 hates.
Description of the Change
See the bug, but in a nutshell:
Removes the DISTINCT clause from the slow query as per stub's suggestion in the bug.
To post a comment you must log in.
review:
Approve
(release-critical)
review:
Approve
(code)
| Julian Edwards (julian-edwards) wrote : | # |
review:
Approve

Since it's not updating the diff with the new changes, here it is: