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

SBE CodeFragment parameters and variables are not resolved correctly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2023-02-06, QE 2023-02-20

      SBE CodeFragment parameters and variable is sensitive on the order and type of append instructions used. Depending on the order of append(code) vs appendXYZ the paraments and variables the stack offsets are sometimes adjusted correctly and sometimes not.

      For repro, see disabled tests in https://github.com/10gen/mongo/pull/9493

       

       

            Assignee:
            anna.wawrzyniak@mongodb.com Anna Wawrzyniak
            Reporter:
            anna.wawrzyniak@mongodb.com Anna Wawrzyniak
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: