SBE CodeFragment parameters and variables are not resolved correctly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Anna Wawrzyniak
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: