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

$all with null handled differently in 2.4 and 2.5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.3
    • Component/s: Querying
    • Operating System:
      ALL

      Description

      2.4 and 2.5 handle $all with a null differently

      Basic reproduction:

      >db.test.drop()
      >db.test.insert(

      {a:1}

      )
      >db.test.find({a: {$all: [null]}})

      2.4 will return the document, 2.5 will not.

      Tested on 2.4.8 and build from trunk on 11/18

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: