Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63415

Coverity analysis defect 121447: Missing break in switch

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

      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@mongodb.com Svilen Mihaylov (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: