diff options
author | Martin Bligh <mbligh@mongodb.com> | 2015-10-07 16:18:17 -0400 |
---|---|---|
committer | Martin Bligh <mbligh@mongodb.com> | 2015-10-07 16:18:17 -0400 |
commit | 873a1c9b81f20dcdeab13cefaa901050c96ff47f (patch) | |
tree | 2d2afd6d948a871f7db3b76f5b7b530e562a8541 /src/mongo/db/commands.h | |
parent | c7ddaa120d2041ce600d504b1bae149353b80fdc (diff) | |
download | mongo-873a1c9b81f20dcdeab13cefaa901050c96ff47f.tar.gz |
SERVER-20360: break out logicalOp vs networkOp
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r-- | src/mongo/db/commands.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h index 8993f9e657a..7b6108bff8e 100644 --- a/src/mongo/db/commands.h +++ b/src/mongo/db/commands.h @@ -241,6 +241,10 @@ public: return false; } + virtual OperationType getLogicalOp() const { + return dbCommand; + } + /** @param webUI expose the command in the web ui as localhost:28017/<name> @param oldName an optional old, deprecated name for the command */ |