mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
nicer error msg
This commit is contained in:
parent
6569d4e815
commit
ff0ddc89ed
@ -65,7 +65,7 @@ namespace mongo {
|
||||
_state.set(s+1);
|
||||
return;
|
||||
}
|
||||
assert( s == 0 );
|
||||
massert("internal error: locks are not upgradeable", s == 0 );
|
||||
_state.set(1);
|
||||
_m.lock();
|
||||
_minfo.entered();
|
||||
|
Loading…
Reference in New Issue
Block a user