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

$nin NULL on indexed property crashes the server

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 4.2.0-rc4, 4.3.1
    • Affects Version/s: 4.2.0-rc3
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.2
    • Hide
      db.test.insertOne({_id: 'test'});
      db.test.findOne({_id: {$nin: [null, 'foo']}});
      Show
      db.test.insertOne({_id: 'test'}); db.test.findOne({_id: {$nin: [null, 'foo']}});
    • Query 2019-07-29
    • 0

      Specyfing null and another value in the $nin operator on an indexed property crashes the server. Works in 4.0.4.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            morkai ?ukasz Walukiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: