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

ExpressionFromRankAccumulator::parse uassert always says (None) for accumulator name

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • ALL
    • QI 2023-09-04, QI 2023-09-18
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      uassert 5371603 in ExpressionFromRankAccumulator::parse uses accumulatorName as a part of the error message, but accumulatorName is not set until the following line. This causes the message to always say that the accumulator name is "(None)". We can either use argName in the error message or swap the order of these two lines.

            Assignee:
            erin.zhu@mongodb.com Erin Zhu
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: