[SERVER-6634] Count accepts negative skip values Created: 28/Jul/12 Updated: 11/Jul/16 Resolved: 25/Sep/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 2.0.6, 2.2.0-rc0 |
| Fix Version/s: | 2.3.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Kevin Matulef | Assignee: | Shaun Verch |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Major Change | ||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
Count command happily accepts negative skip values, and subtracts them from the count result:
It should probably throw an error if you give it a negative skip (like it does if you leave out the "count" part) |
| Comments |
| Comment by Shaun Verch [ 25/Sep/12 ] |
|
Command now fails when skip is passed a negative number or a non number value. |
| Comment by auto [ 25/Sep/12 ] |
|
Author: {u'date': u'2012-08-27T15:22:12-07:00', u'email': u'shaun.verch@10gen.com', u'name': u'Shaun Verch'}Message: |