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

$all with null handled differently in 2.4 and 2.5

    • ALL

      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

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            andrew.emil@10gen.com Andrew Emil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: