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"]

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.1.6
    • Fix Version/s: 1.2.0, 1.2.0-alpha2
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: