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

{a: {$in: [null]}} broken

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.5
    • Affects Version/s: None
    • Component/s: Querying
    • None

      > db.foo.insert({})
      > db.foo.find(

      {a:null}

      )

      { "_id" : ObjectId("4bfd5078deec96b27dbb35d7") }

      > db.foo.find({a:{$in:[null]}})
      >

      > db.foo.ensureIndex(

      {a:1}

      )
      > db.foo.find(

      {a:null}

      )

      { "_id" : ObjectId("4bfd5078deec96b27dbb35d7") }

      > db.foo.find({a:{$in:[null]}})

      { "_id" : ObjectId("4bfd5078deec96b27dbb35d7") }

            Assignee:
            aaron Aaron Staple
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: