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

db.getLastError() always returns null when using autocomplete

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Shell
    • None
    • Fully Compatible
    • ALL
    • Hide

      db.test.insert({_id:1})
      db.test.insert({_id:1})
      db.getLastError()

      Show
      db.test.insert({_id:1}) db.test.insert({_id:1}) db.getLastError()

    Description

      I use Mongodb 2.4.5 for windows(32bit). The db.getLastError() always returns null even if an error occurs, but only when using auto-complete for the "getLastError" call.

      Attachments

        1. m1.PNG
          m1.PNG
          14 kB
        2. m2.PNG
          m2.PNG
          27 kB
        3. mylog.txt
          3 kB

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            andrewguo Andrew Guo
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: