[SERVER-63987] Make debug print of SBE unwind stage consistent with its comment Created: 25/Feb/22  Updated: 27/Oct/23  Resolved: 09/Sep/22

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

Type: Bug Priority: Minor - P4
Reporter: Rui Liu Assignee: Ivan Fefer
Resolution: Gone away Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Sprint: QE 2022-09-19
Participants:

 Description   

Currently the comment of the unwind stage says its debug print has inputSlot as the first parameter, however it's acutally the third parameter.



 Comments   
Comment by Ivan Fefer [ 09/Sep/22 ]

Currently on master branch comment is consistent with implementation: 
https://github.com/mongodb/mongo/blob/master/src/mongo/db/exec/sbe/stages/unwind.h#L46
https://github.com/10gen/mongo/blob/master/src/mongo/db/exec/sbe/stages/unwind.cpp#L192

Generated at Thu Feb 08 05:59:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.