iter should stay the same after bson_iter_recurse()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 1.1.8
    • Component/s: Docs, libbson
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - C Driver Team
            Reporter:
            Peng Xie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: