diff options
author | Aaron <aaron@10gen.com> | 2009-05-13 11:58:24 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-05-13 11:58:24 -0400 |
commit | 92aa0ce095fafc14ddb9b37e27678ccce9eb214f (patch) | |
tree | 0ba8cb03815527b54416cadbeff1e43a2fabc31f /db/instance.h | |
parent | 78b57f297ebaf75eee1f8b5060d438791a50dd87 (diff) | |
download | mongo-92aa0ce095fafc14ddb9b37e27678ccce9eb214f.tar.gz |
maintain stack of current ops, do http authentication after recording context for http output
Diffstat (limited to 'db/instance.h')
-rw-r--r-- | db/instance.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db/instance.h b/db/instance.h index b8920011f6a..9dcb1cb3833 100644 --- a/db/instance.h +++ b/db/instance.h @@ -25,7 +25,9 @@ namespace mongo { - extern CurOp currentOp; + CurOp& currentOp(); + vector< CurOp >::const_iterator currentOpsBegin(); + vector< CurOp >::const_iterator currentOpsEnd(); // turn on or off the oplog.* files which the db can generate. // these files are for diagnostic purposes and are unrelated to |