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

passthough commands shouldn't duplicate ok and errmsg fields

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.5
    • Affects Version/s: None
    • Component/s: Sharding
    • None

      > db.t.group({})
      Wed Jan 27 21:11:30 JS Error: uncaught exception: group command failed: {
      "errmsg" : "$reduce has to be set",
      "ok" : 0,
      "ok" : 0,
      "errmsg" : "$reduce has to be set"
      }

      > db.t.stats()
      {
      "sharded" : false,
      "ns" : "test.t",
      "count" : 4,
      "size" : 144,
      "storageSize" : 1024,
      "nindexes" : 1,
      "ok" : 1,
      "ok" : 1
      }

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: