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

Make WriteResult in the shell adhere to write command spec

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • ALL
    • 0

      The write cmd spec changed to return

      {ok: 1}

      for all cases except for auth failure and failure to parse command. The WriteResult class in the shell to match the spec (/src/mongo/shell/writes.js).

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: