PHP Driver
  1. PHP Driver
  2. PHP-465

Marking connections as failed isn't supported

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major - P3 Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.0beta1
    • Fix Version/s: 1.3.0beta2
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • # Replies:
      1
    • Last comment by Customer:
      false

      Description

      <?php
      $m = new Mongo("standalone", array("connect" => false));
      
      while(true) {
          try {
              $m->test->test->findOne();
          } catch(Exception $e) {
              var_dump($e->getMessage());
              sleep(1);
          }
      }
      

      And then stop mongod results in:

      dyld: lazy symbol binding failed: Symbol not found: _mongo_util_cursor_failed
      

        Issue Links

          Activity

          • Comments
          Hide
          Hannes Magnusson
          added a comment -

          See also tests/generic/mongo-timeout.phpt

          Show
          Hannes Magnusson
          added a comment - See also tests/generic/mongo-timeout.phpt

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 33 weeks ago