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

put likely cause on message

This commit is contained in:
Alberto Lerner 2010-12-28 12:53:14 -05:00
parent a4045bc7cc
commit 83b6d04f0d

View File

@ -264,7 +264,7 @@ namespace mongo {
shared_ptr<Cursor> c( bc );
scoped_ptr<ClientCursor> cc( new ClientCursor( QueryOption_NoCursorTimeout , c , ns ) );
if ( ! cc->ok() ){
errmsg = "can't open a cursor for splitting";
errmsg = "can't open a cursor for splitting (desired range is possibly empty)";
return false;
}