diff options
author | Louis Williams <louis.williams@mongodb.com> | 2018-08-06 14:52:37 -0400 |
---|---|---|
committer | Louis Williams <louis.williams@mongodb.com> | 2018-08-13 13:10:34 -0400 |
commit | f899002aade5d8fa1cbf0b1ad79e3088b8d4b050 (patch) | |
tree | eb8442e167590ca9043e52e2dc7f980f3f5f1e21 /src/mongo/shell | |
parent | f46d77c794e0da816ab4c93b0cb6ace2b771a428 (diff) | |
download | mongo-f899002aade5d8fa1cbf0b1ad79e3088b8d4b050.tar.gz |
SERVER-36208 Remove repairDatabase server command and shell helper
Diffstat (limited to 'src/mongo/shell')
-rw-r--r-- | src/mongo/shell/db.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/shell/db.js b/src/mongo/shell/db.js index 0304410caef..692205ff78e 100644 --- a/src/mongo/shell/db.js +++ b/src/mongo/shell/db.js @@ -583,15 +583,6 @@ var DB; }); }; - /** - Repair database. - - * @return Object returned has member ok set to true if operation succeeds, false otherwise. - */ - DB.prototype.repairDatabase = function() { - return this._dbCommand({repairDatabase: 1}); - }; - DB.prototype.help = function() { print("DB methods:"); print( @@ -640,7 +631,6 @@ var DB; print("\tdb.printShardingStatus()"); print("\tdb.printSlaveReplicationInfo()"); print("\tdb.dropUser(username)"); - print("\tdb.repairDatabase()"); print("\tdb.resetError()"); print( "\tdb.runCommand(cmdObj) run a database command. if cmdObj is a string, turns it into {cmdObj: 1}"); |