summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/capped_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/capped_utils.h')
-rw-r--r--src/mongo/db/catalog/capped_utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/capped_utils.h b/src/mongo/db/catalog/capped_utils.h
index f7be6dc427e..9ae6a41c505 100644
--- a/src/mongo/db/catalog/capped_utils.h
+++ b/src/mongo/db/catalog/capped_utils.h
@@ -36,12 +36,12 @@ class OperationContext;
/**
* Drops all documents contained in the capped collection, "collectionName".
*/
-Status emptyCapped(OperationContext* txn, const NamespaceString& collectionName);
+Status emptyCapped(OperationContext* opCtx, const NamespaceString& collectionName);
/**
* Clones the collection "shortFrom" to the capped collection "shortTo" with a size of "size".
*/
-Status cloneCollectionAsCapped(OperationContext* txn,
+Status cloneCollectionAsCapped(OperationContext* opCtx,
Database* db,
const std::string& shortFrom,
const std::string& shortTo,
@@ -51,5 +51,5 @@ Status cloneCollectionAsCapped(OperationContext* txn,
/**
* Converts the collection "collectionName" to a capped collection with a size of "size".
*/
-Status convertToCapped(OperationContext* txn, const NamespaceString& collectionName, double size);
+Status convertToCapped(OperationContext* opCtx, const NamespaceString& collectionName, double size);
} // namespace mongo