Coverity analysis defect 150854: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: 8.0.0-rc0
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • ALL
    • v8.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Using a moved object

      Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
      /src/mongo/db/pipeline/document_source_merge.cpp:397: USE_AFTER_MOVE 150854 "batchObject" is moved (indicated by "std::move(batchObject)").
      /src/mongo/db/pipeline/document_source_merge.cpp:397: USE_AFTER_MOVE 150854 "batchObject" is used after it has been already moved.

            Assignee:
            Projjal Chanda
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: