summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-10-06 11:42:02 -0400
committerDavid Storch <david.storch@10gen.com>2015-10-07 15:45:26 -0400
commite087223cbc0f6199c48030b49d02b2ebd5497a6c (patch)
tree538e12c90212159895b2c14d97536e14fc1c18db /src/mongo/db/curop.h
parent2904bb4a308e8056ccacb562a662c9353e35c73a (diff)
downloadmongo-e087223cbc0f6199c48030b49d02b2ebd5497a6c.tar.gz
SERVER-19567 make OP_QUERY currentOp entries look like find commands
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index 841f0291208..7f28fa1167f 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -191,11 +191,6 @@ public:
int responseLength;
private:
- // Lists the $-prefixed query options that can be passed alongside a wrapped query predicate for
- // OP_QUERY find. The $orderby field is omitted because "orderby" (no dollar sign) is also
- // allowed, and this requires special handling.
- static const std::vector<const char*> kDollarQueryModifiers;
-
/**
* Returns true if this OpDebug instance was generated by a find command. Returns false for
* OP_QUERY find and all other operations.
@@ -218,12 +213,6 @@ private:
* OP_GET_MORE and getMore command (using either of the command protocols).
*/
int getLogicalOpType() const;
-
- /**
- * For a find using the OP_QUERY protocol (as opposed to the commands protocol), upconverts the
- * "query" field so that the profiling entry matches that of the find command.
- */
- BSONObj upconvertQueryEntry(const NamespaceString& nss) const;
};
/**