Merge lp:~jkakar/storm/is-empty-strips-order-by into lp:storm
Proposed by
Jamu Kakar
on 2010-07-22
| Status: | Merged |
|---|---|
| Approved by: | Jamu Kakar on 2010-07-22 |
| Approved revision: | 362 |
| Merged at revision: | 362 |
| Proposed branch: | lp:~jkakar/storm/is-empty-strips-order-by |
| Merge into: | lp:storm |
| Diff against target: |
52 lines (+23/-1) 2 files modified
storm/store.py (+1/-0) tests/store/base.py (+22/-1) |
| To merge this branch: | bzr merge lp:~jkakar/storm/is-empty-strips-order-by |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Kevin McDermott (community) | 2010-07-22 | Approve on 2010-07-22 | |
| Robert Collins (community) | Approve on 2010-07-22 | ||
| Storm Developers | 2010-07-22 | Pending | |
|
Review via email:
|
|||
Description of the Change
This branch introduces the following changes:
- ResultSet.is_empty strips order by clauses, since they're
unnecessary for this operation.
To post a comment you must log in.
lp:~jkakar/storm/is-empty-strips-order-by
updated
on 2010-07-22
- 362. By Jamu Kakar on 2010-07-22
-
- Fix a typo in a docstring.
- Unpack the list of captured statements to ensure there is only
one.
| Kevin McDermott (bigkevmcd) wrote : | # |
As discussed "ORDER BY" could not appear in a whole load of SQL statements, can we check that there's only one query executed, and that "ORDER BY" doesn't appear.
Oh, and as Robert points out "natching" ;-)
review:
Approve

Looks good except for the typo ;)