summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-07-07 08:27:31 -0400
committerEliot Horowitz <eliot@10gen.com>2011-07-07 08:29:38 -0400
commit25de5330e9a575d094711a2dc5287d04ba10ad47 (patch)
tree27b7c884d3d284adb93bedec673f0b788993ea70
parent74bb5b66f9765937a4af2cdfd5ce0159d602b93a (diff)
downloadmongo-25de5330e9a575d094711a2dc5287d04ba10ad47.tar.gz
Revert "fix active in curop"
This reverts commit 10d2d10f7f3e04f1f6eae7467137bb127458b9ee.
-rw-r--r--db/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/client.cpp b/db/client.cpp
index 51011515290..e4fd4b9dddc 100644
--- a/db/client.cpp
+++ b/db/client.cpp
@@ -318,7 +318,7 @@ namespace mongo {
BSONObj CurOp::infoNoauth() {
BSONObjBuilder b;
b.append("opid", _opNum);
- bool a = _active && ( _start || _waitingForLock );
+ bool a = _active && _start;
b.append("active", a);
if ( _lockType )
b.append("lockType" , _lockType > 0 ? "write" : "read" );