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

Remove putBack() and _putBack members from dbclient_cursor

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Client
    • None
    • Query Execution
    • Fully Compatible
    • QE 2024-11-11, QE 2024-11-25

      dbclient_cursor.{h,cpp} has a method `putBack(...)`, which is only called from a single unit test.

      But the method is not called outside of unittests. That means it should be removed altogether, which would also allow removing the `_putBack` instance variable, and thus a slight simplification of the class and code.

            Assignee:
            jan.steemann@mongodb.com Jan Steemann
            Reporter:
            jan.steemann@mongodb.com Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: