diff options
author | Ted Tuckman <ted.tuckman@mongodb.com> | 2018-09-04 16:27:31 -0400 |
---|---|---|
committer | Ted Tuckman <ted.tuckman@mongodb.com> | 2018-09-14 13:34:41 -0400 |
commit | 8f9cf06033d7b1e0942c76eecfb69b5eee044ed6 (patch) | |
tree | 7c1a4fa59521b125f7fe9283b5830943a4ebcc2b /src/mongo/db/clientcursor.h | |
parent | 846a6c19839601ce66f27877b348a4a5150a453d (diff) | |
download | mongo-8f9cf06033d7b1e0942c76eecfb69b5eee044ed6.tar.gz |
SERVER-37001 Add idleCursor to $currentOp
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index 59af3fc3929..cc698e12bfd 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -271,7 +271,7 @@ private: } // The ID of the ClientCursor. A value of 0 is used to mean that no cursor id has been assigned. - CursorId _cursorid = 0; + const CursorId _cursorid = 0; // Threads may read from this field even if they don't have the cursor pinned, as long as they // have the correct partition of the CursorManager locked (just like _authenticatedUsers). |