Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-280

WriteConcern should always set journal/fsync boolean args

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.6.0
    • Affects Version/s: 0.5.1
    • Component/s: None
    • None

      Currently, WriteResult only sets journal and fsync if the constructor arguments are true. As of CDRIVER-580, libmongoc differentiates between set (either true or false) or unset values. We would also like to do that in the debug handler (PHPC-179).

      The constructor should always set the boolean value (if passed) on the underlying mongoc_write_concern_t struct.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: