Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-720

iter should stay the same after bson_iter_recurse()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.1.8
    • docs, libbson
    • None

    Description

      The return section in the document of bson_iter_recurse() says:

      Returns

      true if child has been intialized. Otherwise, both child and iter should be considered invalid.

      As iter is passed in as a const variable, it should not go bad. The document needs an update.

      Attachments

        Activity

          People

            backlog-c-driver Backlog - C Driver Team
            mapx Peng Xie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: