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

Do not set "mongodb.debug" based on Manager's $driverOptions["debug"]

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0-alpha2, 1.2.0
    • Affects Version/s: 1.1.6
    • Component/s: None
    • None

      php_phongo_make_mongo_client() currently sets mongodb.debug based on $driverOptions["debug"]. This is problematic, since the INI option is global and could affect multiple Manager instances. This behavior was never documented, so we should simply remove it.

      In the future, we can look into re-introducing such an option if we can limit its scope to a single Manager instance.

            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: