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

Coverity analysis defect 120211: Identical code for different branches

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution
    • ALL

    Description

      Identical code for different branches

      The condition is redundant The same code is executed regardless of the condition
      /src/mongo/db/pipeline/pipeline_test.cpp:79: IDENTICAL_BRANCHES 120211 Ternary expression on condition "mongo::feature_flags::gFeatureFlagChangeStreamsOptimization.isEnabledAndIgnoreFCV()" has identical then and else expressions: "6". Should one of the expressions be modified, or the entire ternary expression replaced?

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: