Coverity analysis defect 121447: Missing break in switch

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • QO 2022-02-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Svilen Mihaylov (Inactive)
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: