diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-02-04 12:11:44 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-02-04 12:11:44 -0500 |
commit | baf0d1a4ae80fc0bce44787482f8e2a364b06143 (patch) | |
tree | 972ce3b4f8da2b9215808fe94708812e1f270cc6 /db/concurrency.h | |
parent | 3fd74e33c2bbd06206b6b830cbdcaa37c429549c (diff) | |
download | mongo-baf0d1a4ae80fc0bce44787482f8e2a364b06143.tar.gz |
variable wasn't getting initialized in MutexInfo
Diffstat (limited to 'db/concurrency.h')
-rw-r--r-- | db/concurrency.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/concurrency.h b/db/concurrency.h index e9f5a8ecef1..89ed3848154 100644 --- a/db/concurrency.h +++ b/db/concurrency.h @@ -29,7 +29,7 @@ namespace mongo { int locked; public: - MutexInfo() : locked(0) { + MutexInfo() : locked(0) , timeLocked(0) { start = curTimeMicros64(); } void entered() { |