Return false when raising MONGOC_ERROR

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: 1.4.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are some cases where we raise MONGOC_ERROR, without actually returning from the function, resulting in incorrect return values and probably incorrect behavior and maybe crashes.

      See https://github.com/mongodb/mongo-php-driver/pull/376#discussion_r78054370 for discussion

            Assignee:
            Hannes Magnusson (Inactive)
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: