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

iter should stay the same after bson_iter_recurse()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 1.1.8
    • Fix Version/s: None
    • Component/s: docs, libbson
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: