Merge lp:~wgrant/launchpad/bug-869631 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | William Grant on 2012-03-07 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 14913 |
| Proposed branch: | lp:~wgrant/launchpad/bug-869631 |
| Merge into: | lp:launchpad |
| Diff against target: |
44 lines (+17/-3) 2 files modified
lib/lp/bugs/model/bug.py (+5/-2) lib/lp/bugs/model/tests/test_bugsubscriptioninfo.py (+12/-1) |
| To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-869631 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Steve Kowalik (community) | code | 2012-03-07 | Approve on 2012-03-07 |
|
Review via email:
|
|||
Commit Message
[r=stevenk][bug=869631] Fix Bug.duplicate_
Description of the Change
This branch fixes a bug subscription query to be correct and a thousand times faster. Bug.duplicate_
Adding tables=[BugMute] changes it to the intended correlated subquery -- fast and correct. I added a test for this behaviour, and changed an existing test which relied on the broken one.
