Fix broken cursor function entry macro call

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: Cursors
    • None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - 2025-07-18
    • 1

      In output (see examples in WT-13985), we see the session name: WT_CURSOR.cbt->dhandle, which doesn't make sense.  This is due to an error in the curfile_insert function, the line:

          CURSOR_UPDATE_API_CALL_BTREE(cursor, session, ret, cbt->dhandle); 

      is incorrect, it should read

          CURSOR_UPDATE_API_CALL_BTREE(cursor, session, ret, insert);

      because the final arg should be the name of the function (not a dhandle), and it is used to construct a name that is temporarily given to the session during the API call.

              Assignee:
              Donald Anderson
              Reporter:
              Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: