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

calls to db.createUser() function not saved in shell history

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

      In a mongo shell, when i call the createUser function and go back through my shell history, it doesn't show up.
      This is on 2.5.4 shell with a 2.5.4 server on OSX.

      example:

      > var x = 12345
      > db.createUser({user:"mike", pwd:"blah", roles:[]})
      Successfully added user: { "user" : "mike", "roles" : [ ] }
        
      (hit arrow up key)
      > var x = 12345
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: