Skip to content

Commit 6441b5d

Browse files
committed
JAVA-428: read pref not set on cursor
1 parent fd4a7c3 commit 6441b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/com/mongodb/DBCursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ private void _check()
366366
foo.put( "$snapshot", true );
367367
}
368368

369-
_it = _collection.__find( foo, _keysWanted, _skip, _batchSize, _limit , _options , null , _decoderFact.create() );
369+
_it = _collection.__find( foo, _keysWanted, _skip, _batchSize, _limit , _options , _readPref , _decoderFact.create() );
370370
}
371371

372372
if ( _it == null ){

0 commit comments

Comments
 (0)