Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major - P3 Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.0.5
    • Fix Version/s: 1.0.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      CentOS 5 64-bit
    • # Replies:
      3
    • Last comment by Customer:
      false

      Description

      Iterating through a PHP MongoCursor object with a large number of objects causes this code to execute, which has the extraneous output "writing more".

      The last line below needs to be removed or commented out

      >> From bson.c of version 1.0.5
      int php_mongo_write_get_more(buffer *buf, mongo_cursor *cursor TSRMLS_DC)
      {
      mongo_msg_header header;
      int start = buf->pos - buf->start;

      php_printf("writing more\n");

        Activity

        Hide
        auto
        added a comment -

        Author:

        {'login': '', 'name': 'Kristina Chodorow', 'email': 'k@ubuntu.(none)'}

        Message: how embarassing PHP-91
        http://github.com/mongodb/mongo-php-driver/commit/05209bc7a65696203da0fee6d5c2270d7bf303e7

        Show
        auto
        added a comment - Author: {'login': '', 'name': 'Kristina Chodorow', 'email': 'k@ubuntu.(none)'} Message: how embarassing PHP-91 http://github.com/mongodb/mongo-php-driver/commit/05209bc7a65696203da0fee6d5c2270d7bf303e7
        Hide
        Kristina Chodorow (Inactive)
        added a comment -

        Sorry, debugging output.

        Show
        Kristina Chodorow (Inactive)
        added a comment - Sorry, debugging output.
        Hide
        auto
        added a comment -

        Author:

        {'login': '', 'name': 'Kristina Chodorow', 'email': 'k@ubuntu.(none)'}

        Message: how embarassing PHP-91
        http://github.com/mongodb/mongo-php-driver/commit/05209bc7a65696203da0fee6d5c2270d7bf303e7

        Show
        auto
        added a comment - Author: {'login': '', 'name': 'Kristina Chodorow', 'email': 'k@ubuntu.(none)'} Message: how embarassing PHP-91 http://github.com/mongodb/mongo-php-driver/commit/05209bc7a65696203da0fee6d5c2270d7bf303e7

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since reply:
              3 years, 32 weeks, 6 days ago
              Date of 1st Reply: