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

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

      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.

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

              Created:
              Updated:
              Resolved: