JavaScript execution failed after db.getSiblingDB()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.4
    • Component/s: Shell
    • Environment:
      Wed Jun 05 10:57:32.561 [initandlisten] db version v2.4.4
      Wed Jun 05 10:57:32.561 [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
    • ALL
    • Hide

      use test
      db.test.insert(

      {t:1}

      )
      db.test.find()
      db.getSiblingDB()

      Show
      use test db.test.insert( {t:1} ) db.test.find() db.getSiblingDB()
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We create a new test instance with mongo 2.4.4 and after we execute "db.getSiblingDB()", we see the following error:

      Wed Jun 05 11:06:53.529 JavaScript execution failed: Error: db initializer called with undefined argument at src/mongo/shell/mongo.js:L40

              Assignee:
              Unassigned
              Reporter:
              David Verdejo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: