Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3284

nextSafe() doesn't check for error code from request, can get confused by accidentally storing error fields

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Internal Client
    • ALL

    Description

      DBClientCursor::nextSafe() throws an exception if the next doc contains "$err" as the first field - probably better to keep track of when/if the error flag is thrown by a request for more data.

      Attachments

        Activity

          People

            Unassigned Unassigned
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: