summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index 904f41ff73a..d95b56e41e9 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -512,13 +512,6 @@ public:
}
/**
- * Returns true if this CurOp represents a non-command OP_QUERY request.
- */
- bool isLegacyQuery() const {
- return _networkOp == NetworkOp::dbQuery && !isCommand();
- }
-
- /**
* Returns true if the current operation is known to be a command.
*/
bool isCommand() const {
@@ -855,18 +848,4 @@ private:
TickSource* _tickSource = nullptr;
};
-
-/**
- * Upconverts a legacy query object such that it matches the format of the find command.
- */
-BSONObj upconvertQueryEntry(const BSONObj& query,
- const NamespaceString& nss,
- int ntoreturn,
- int ntoskip);
-
-/**
- * Generates a getMore command object from the specified namespace, cursor ID and batchsize.
- */
-BSONObj upconvertGetMoreEntry(const NamespaceString& nss, CursorId cursorId, int ntoreturn);
-
} // namespace mongo