0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

nicer error msg

This commit is contained in:
Dwight 2009-12-03 16:41:12 -05:00
parent 6569d4e815
commit ff0ddc89ed

View File

@ -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();