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

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Internal Client
    • Labels:
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: