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

$or clause won't handle 'invalid' key range properly

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

      eg can't pick an index given { a:

      { $gt:5,$lt:2}

      } - it is marked useless
      Also, popOrClause() will drop clauses with 'invalid' ranges

            Assignee:
            aaron Aaron Staple
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: