diff options
author | Gabe Villasana <gabe.villasana@mondodb.com> | 2019-06-04 14:29:09 -0400 |
---|---|---|
committer | Gabe Villasana <villagab4@gmail.com> | 2019-06-26 17:04:38 -0400 |
commit | ed66b586a0e6bc97e4ca91ce33d71d6c303b5278 (patch) | |
tree | 701019a311086cd9e50aac33b24ba28759d606f8 /src/mongo/db/commands/validate.cpp | |
parent | 6cb22a4feef4e5eb03412e392d2274707965f9b9 (diff) | |
download | mongo-ed66b586a0e6bc97e4ca91ce33d71d6c303b5278.tar.gz |
SERVER-39524 remove NamespaceString::virtualized() and friends
Diffstat (limited to 'src/mongo/db/commands/validate.cpp')
-rw-r--r-- | src/mongo/db/commands/validate.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/commands/validate.cpp b/src/mongo/db/commands/validate.cpp index 4a57e81f477..f45e87b8148 100644 --- a/src/mongo/db/commands/validate.cpp +++ b/src/mongo/db/commands/validate.cpp @@ -115,11 +115,6 @@ public: result.append("note", deprecationWarning); } - if (!nss.isNormal() && full) { - uasserted(ErrorCodes::CommandFailed, - "Can only run full validate on a regular collection"); - } - if (!serverGlobalParams.quiet.load()) { LOG(0) << "CMD: validate " << nss.ns(); } |