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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.2
    • None
    • None
    • None
    • ALL

    Description

      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 } } } } } ) );

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: