0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

correct message this time

This commit is contained in:
Alberto Lerner 2010-10-23 10:08:32 -04:00
parent bede67f19d
commit 57507b03ef

View File

@ -279,7 +279,7 @@ namespace mongo {
// sanity check. // sanity check.
if ( splitPoint.empty() || _min == splitPoint.front() || _max == splitPoint.front() ) { if ( splitPoint.empty() || _min == splitPoint.front() || _max == splitPoint.front() ) {
log() << "want to split chunk, but can't find split point chunk " << toString() log() << "want to split chunk, but can't find split point chunk " << toString()
<< " got: " << ( true ? "<empty>" : splitPoint.front().toString() ) << endl; << " got: " << ( splitPoint.empty() ? "<empty>" : splitPoint.front().toString() ) << endl;
return ChunkPtr(); return ChunkPtr();
} }