verbose query plan output not appearing in system.profile

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.0-rc2
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Diagnostics, Querying
    • None
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      db.f.drop();
      db.setProfilingLevel(0);
      db.f.ensureIndex({x:1});
      db.system.profile.drop();
      db.setProfilingLevel(2);
      db.f.find({x:1});
      // the execStats here should be included here
      var retval = db.system.profile.findOne({},{query:1, execStats:1});
      assert.neq(retval.execStats.$msg, "query not recording (too large)");
      db.f.find({})
      db.system.profile.find({},{query:1, execStats:1})
      

              Assignee:
              Benety Goh
              Reporter:
              Daniel Pasette (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: