diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-06-12 07:57:38 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-06-12 07:57:38 -0400 |
commit | c2ce73b66eef5c47fca71b3a0d1608b07c58c63e (patch) | |
tree | d1370c5994f1e1226166933740c6f598f3cdd19a /src/mongo/db/lockstate.cpp | |
parent | 16aedcce6cb912bb2459b4316fcf54f370466536 (diff) | |
download | mongo-c2ce73b66eef5c47fca71b3a0d1608b07c58c63e.tar.gz |
SERVER-4628 - use ^ instead of . and fix test for currentop
Diffstat (limited to 'src/mongo/db/lockstate.cpp')
-rwxr-xr-x | src/mongo/db/lockstate.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/lockstate.cpp b/src/mongo/db/lockstate.cpp index ac29d38301e..0b518df367f 100755 --- a/src/mongo/db/lockstate.cpp +++ b/src/mongo/db/lockstate.cpp @@ -109,20 +109,20 @@ namespace mongo { char buf[2]; buf[0] = _threadState; buf[1] = 0; - b.append(".", buf); + b.append("^", buf); } if( _nestableCount ) { string s = "?"; if( _whichNestable == Lock::local ) - s = ".local"; + s = "^local"; else if( _whichNestable == Lock::admin ) - s = ".admin"; + s = "^admin"; b.append(s, kind(_nestableCount)); } if( _otherCount ) { WrapperForRWLock *k = _otherLock; if( k ) { - string s = "."; + string s = "^"; s += k->name(); b.append(s, kind(_otherCount)); } |