Details
-
Improvement
-
Resolution: Duplicate
-
Minor - P4
-
None
-
None
-
None
-
None
-
(copied to CRM)
Description
db.dropDatabase() is really dangerous
it can be call on any database without any verification.
it is based on the context of the selected database which can lead to mistakes.
(example : use the command history to quickly)
it should contain the name of the database to drop : db.dropDatabase("databaseToDrop") for example.
Attachments
Issue Links
- duplicates
-
SERVER-22551 Make db.dropDatabase() shell helper take an argument
-
- Closed
-