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

Replace Variables::hasUserDefinedValue() with a method that checks whether a variable is constant

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v3.6
    • Query 2017-12-04

    Description

      We currently fail to optimize ExpressionFieldPath with a user defined variable set explicitly to "missing" to ExpressionConstant. Knowing when a variable has been set to constant value, vs the default unset value of "missing" will allow us optimize correctly.

      Attachments

        Activity

          People

            james.wahlin@mongodb.com James Wahlin
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: