Store C driver iterators in an opaque memory region

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should not fiddle with the internal structure of bson_iter_t. However, we have been assured by the C driver team that it is OK to memcpy them. Since we don't want to expose bson_iter_t in the interface to the driver, store it in an opaque memory buffer of the correct size, and hydrate it as needed when communicating with the C driver.

            Assignee:
            Kevin Albertson
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: