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

nested $elemMatch queries are not handled in queryutil, trigger "warning: shouldn't get here?" log message

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

      Example:

      t.save( { a:{ b:{ c:1, d:2 } } } );
      t.ensureIndex( { 'a.b.c':1 } );
      print( t.count( { a:{ $elemMatch:{ b:{ $elemMatch:{ c:1, d:2 } } } } } ) );
      

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

              Created:
              Updated:
              Resolved: