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

Coverity analysis defect 116257: Missing break in switch

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Query 2020-09-21

    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/query_planner.cpp:176: MISSING_BREAK 116257 The case for value "mongo::QueryPlannerParams::ASSERT_MIN_TS_HAS_NOT_FALLEN_OFF_OPLOG" is not terminated by a 'break' statement.
      /src/mongo/db/query/query_planner.cpp:178: MISSING_BREAK 116257 The above case falls through to this one.

      Attachments

        Activity

          People

            charlie.swanson@mongodb.com Charlie Swanson
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: