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:
parent
a4045bc7cc
commit
83b6d04f0d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user