diff options
Diffstat (limited to 'src/mongo/db/catalog/rename_collection.h')
-rw-r--r-- | src/mongo/db/catalog/rename_collection.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/rename_collection.h b/src/mongo/db/catalog/rename_collection.h index 2af16a8ddee..9b1c5ddf5ae 100644 --- a/src/mongo/db/catalog/rename_collection.h +++ b/src/mongo/db/catalog/rename_collection.h @@ -45,13 +45,11 @@ class OpTime; /** * Renames the collection from "source" to "target" and drops the existing collection if * "dropTarget" is true. "stayTemp" indicates whether a collection should maintain its - * temporariness. "skipSourceCollectionShardedCheck" indicates the "source" collection sharding - * state shouldn't be checked. + * temporariness. */ struct RenameCollectionOptions { bool dropTarget = false; bool stayTemp = false; - bool skipSourceCollectionShardedCheck = false; }; void doLocalRenameIfOptionsAndIndexesHaveNotChanged(OperationContext* opCtx, |