summaryrefslogtreecommitdiff
path: root/db/concurrency.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-02-04 12:11:44 -0500
committerEliot Horowitz <eliot@10gen.com>2010-02-04 12:11:44 -0500
commitbaf0d1a4ae80fc0bce44787482f8e2a364b06143 (patch)
tree972ce3b4f8da2b9215808fe94708812e1f270cc6 /db/concurrency.h
parent3fd74e33c2bbd06206b6b830cbdcaa37c429549c (diff)
downloadmongo-baf0d1a4ae80fc0bce44787482f8e2a364b06143.tar.gz
variable wasn't getting initialized in MutexInfo
Diffstat (limited to 'db/concurrency.h')
-rw-r--r--db/concurrency.h2
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() {