MongoInterfaceShardServer must check result of getDatabase

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Query 2019-12-16
    • 20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The functions dropCollection and createIndexes call getValue() on the result of getDatabase() without checking for errors. Like the other similar functions (createCollection, getIndexSpecs, and renameIfOptionsAndIndexesHaveNotChanged), they should wrap the getDatabase() calls with uassertStatusOK().

      cc ted.tuckman

              Assignee:
              Ted Tuckman
              Reporter:
              Kevin Pulo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: