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

Rename "php_mongo" functions to not conflict with legacy driver

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.1.7
    • Affects Version/s: 1.1.6
    • Component/s: None
    • None

      The functions in src/contrib/php-ssl.c and php_mongo_verify_hostname() in php_phongo.c currently have a "php_mongo" prefix, which means their names may conflict with those from the legacy driver if both extensions are loaded.

      This likely does not cause an issue in practice, since the functions are identical (since being imported in this commit); however, we should still prefix them correctly.

            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: