Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1512

Store C driver iterators in an opaque memory region

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: