Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-193

Unset typeMap key before passing driverOptions to Manager constructor

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

      Currently, we pass $driverOptions with a "typeMap" key to the driver, which ignores it; however, the unsupported option will impose on the driver's incorporating that constructor argument in the hash for persistent connections.

      Unset it so that we only pass supported options to the driver.

            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: