[SERVER-63415] Coverity analysis defect 121447: Missing break in switch Created: 08/Feb/22  Updated: 11/Feb/22  Resolved: 11/Feb/22

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Svilen Mihaylov (Inactive)
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2022-02-10 at 4.11.51 PM.png    
Issue Links:
Duplicate
is duplicated by SERVER-63583 Address coverity issues in the new op... Closed
Operating System: ALL
Sprint: QO 2022-02-21
Participants:

 Description   

Missing break in switch

Execution falls through to the next case statement or default; this might indicate a common typo. Missing break statement between cases in switch statement
/src/mongo/db/query/optimizer/cascades/logical_props_derivation.cpp:325: MISSING_BREAK 121447 The case for value "mongo::optimizer::DistributionType::RangePartitioning" is not terminated by a "break" statement.
/src/mongo/db/query/optimizer/cascades/logical_props_derivation.cpp:334: MISSING_BREAK 121447 The above case falls through to this one.


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