-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
(copied to CRM)
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.
- duplicates
-
SERVER-22551 Make db.dropDatabase() shell helper take an argument
- Closed