diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-07-07 08:16:53 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-07-07 08:17:53 -0400 |
commit | 74bb5b66f9765937a4af2cdfd5ce0159d602b93a (patch) | |
tree | ecf011f23eaab6e7c35799ff8e93bbd0c085bedd | |
parent | 27d16a2a05862be5f4d9f034048afbb8444b793e (diff) | |
download | mongo-74bb5b66f9765937a4af2cdfd5ce0159d602b93a.tar.gz |
fix active in curop
-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 e4fd4b9dddc..51011515290 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; + bool a = _active && ( _start || _waitingForLock ); b.append("active", a); if ( _lockType ) b.append("lockType" , _lockType > 0 ? "write" : "read" ); |