diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-07-07 08:27:31 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-07-07 08:29:38 -0400 |
commit | 25de5330e9a575d094711a2dc5287d04ba10ad47 (patch) | |
tree | 27b7c884d3d284adb93bedec673f0b788993ea70 | |
parent | 74bb5b66f9765937a4af2cdfd5ce0159d602b93a (diff) | |
download | mongo-25de5330e9a575d094711a2dc5287d04ba10ad47.tar.gz |
Revert "fix active in curop"
This reverts commit 10d2d10f7f3e04f1f6eae7467137bb127458b9ee.
-rw-r--r-- | db/client.cpp | 2 |
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" ); |