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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Client
    • Labels:
    • Operating System:
      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

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

              Dates

              Created:
              Updated:
              Resolved: