[SERVER-52673] Coverity analysis defect 116609: Missing break in switch Created: 06/Nov/20  Updated: 27/Oct/23  Resolved: 26/Nov/20

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Anton Korshunov
Resolution: Gone away Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Sprint: Query 2020-11-30, Query 2020-12-14
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/plan_explainer_sbe.cpp:223: MISSING_BREAK 116609 The case for value "mongo::STAGE_TEXT" is not terminated by a 'break' statement.
/src/mongo/db/query/plan_explainer_sbe.cpp:233: MISSING_BREAK 116609 The above case falls through to this one.



 Comments   
Comment by Anton Korshunov [ 26/Nov/20 ]

Fixed in SERVER-51409.

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