$all with null handled differently in 2.4 and 2.5

XMLWordPrintableJSON

    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Andrew Emil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: