clarify or remove advanceNext return value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2023-02-20, Execution Team 2023-02-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The WiredTigerIndexCursorBase::advanceNext method returns a boolean with an unclear and undocumented meaning. It appears to be return !_eof, but in actuality one code path ends up calling updatePosition(true) which may result in _eof being set, but a true value being returned.

      It seems clear that some more documentation and testing is required at a minimum.

            Assignee:
            Geert Bosch
            Reporter:
            Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: