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

Handle empty collection and turn off all accumulators

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Backlog
    • None
    • None
    • Fully Compatible
    • ALL
    • QE 2021-10-04
    • 151

    Description

      db.runCommand({
      aggregate: "C",
      pipeline: [{$unionWith: "nonExistentCollectionAlpha"}], cursor: {}})

      Causes a nullptr dereference in PipelineD.

      Attachments

        Activity

          People

            eric.cox@mongodb.com Eric Cox (Inactive)
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: