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

use no more precision than necessary when reporting explain output

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • Affects Version/s: 2.1.1
    • Component/s: Querying
    • None
    • ALL

      Can we go back to displaying longs as just numbers in the output? Are there other commands whose output is similarly affected?

      > db.x1.find().explain()
      {
      	"cursor" : "BasicCursor",
      	"isMultiKey" : false,
      	"n" : NumberLong(1),
      	"nscannedObjects" : NumberLong(1),
      	"nscanned" : NumberLong(1),
      	"scanAndOrder" : false,
      	"indexOnly" : false,
      	"nYields" : 0,
      	"nChunkSkips" : NumberLong(0),
      	"millis" : 0,
      	"indexBounds" : {
      		
      	},
      	"server" : "lazarus:27017"
      }
      

            Assignee:
            aaron Aaron Staple
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: