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

Dropping a non-existing collection does not return an error

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • 2.5.5
    • None
    • None
    • ALL

    Description

      Dropping a non existing collection with the drop command returns a namespace error in pre 2.5.5 but no error in 2.5.5

      db.runCommand({drop:"doesnotexist"})

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            christkv Christian Amor Kvalheim
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: