[SERVER-5059] Support {$skip:0} Created: 23/Feb/12  Updated: 15/Aug/12  Resolved: 23/Feb/12

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: 2.1.0
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Brandon Hudgeons Assignee: Chris Westin
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-4843 non user friendly assertion with skip:0 Closed
Participants:

 Description   

Including

{"$skip":0}

in your pipeline yields

{ "errmsg" : "exception: assertion src/mongo/db/pipeline/document_source_skip.cpp:95" , "code" : 0 , "ok" : 0.0}

. It should have no effect (skip nothing).


Generated at Thu Feb 08 03:07:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.