Remove injectExpressionContext() methods from pipeline directory

XMLWordPrintableJSON

    • Fully Compatible
    • Query 2016-11-21, Query 2016-12-12, Query 2017-01-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Before SERVER-25038 we were parsing the aggregation pipeline before we acquired the collection lock, and thus before we knew whether there was a default collation to use, so we added injectExpressionContext() as a callback to inform the pipeline of the new collation (if necessary). Once SERVER-25038 is resolved, we can remove injectExpressionContext(), and make everything that might make string comparisons take an ExpressionContext as an argument to the constructor/parser, thus ensuring all comparisons can use the correct collation.

            Assignee:
            Charlie Swanson
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: