summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/rename_collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/rename_collection.h')
-rw-r--r--src/mongo/db/catalog/rename_collection.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mongo/db/catalog/rename_collection.h b/src/mongo/db/catalog/rename_collection.h
index 1ec0b754779..fb1aa7b5387 100644
--- a/src/mongo/db/catalog/rename_collection.h
+++ b/src/mongo/db/catalog/rename_collection.h
@@ -29,18 +29,18 @@
#include "mongo/base/status.h"
namespace mongo {
- class NamespaceString;
- class OperationContext;
+class NamespaceString;
+class OperationContext;
- /**
- * Renames the collection "source" to "target" and drops the existing collection named "target"
- * iff "dropTarget" is true. "stayTemp" indicates whether a collection should maintain its
- * temporariness.
- */
- Status renameCollection(OperationContext* txn,
- const NamespaceString& source,
- const NamespaceString& target,
- bool dropTarget,
- bool stayTemp);
+/**
+ * Renames the collection "source" to "target" and drops the existing collection named "target"
+ * iff "dropTarget" is true. "stayTemp" indicates whether a collection should maintain its
+ * temporariness.
+ */
+Status renameCollection(OperationContext* txn,
+ const NamespaceString& source,
+ const NamespaceString& target,
+ bool dropTarget,
+ bool stayTemp);
-} // namespace mongo
+} // namespace mongo