diff options
author | Martin Bligh <mbligh@mongodb.com> | 2015-10-15 09:05:44 -0400 |
---|---|---|
committer | Martin Bligh <mbligh@mongodb.com> | 2015-10-15 09:05:44 -0400 |
commit | 955f62adbd320f1ef725572cf7b935880facab7e (patch) | |
tree | be378f58051a95a5ff7e2e4519b2e2621c2b034f /src/mongo/db/curop.h | |
parent | c4c81654666aabca6e0977caa4c0e31fa38eb298 (diff) | |
download | mongo-955f62adbd320f1ef725572cf7b935880facab7e.tar.gz |
SERVER-20360: Do writecmd vectored write inside one currentOp
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r-- | src/mongo/db/curop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h index 66c38a2fa47..bcdfb3de38f 100644 --- a/src/mongo/db/curop.h +++ b/src/mongo/db/curop.h @@ -309,6 +309,10 @@ public: */ void raiseDbProfileLevel(int dbProfileLevel); + void setDbProfileLevel(int dbProfileLevel) { + _dbprofile = dbProfileLevel; + } + /** * Gets the network operation type. No lock is required if called by the thread executing * the operation, but the lock must be held if called from another thread. |