Skip to content

Commit 58b96d4

Browse files
author
Brendan W. McAdams
committed
Merge branch 'master' into bson_encode_enhance
2 parents c86c378 + 79ea50c commit 58b96d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/com/mongodb/DBCursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ boolean hasSpecialQueryFields(){
335335
if ( _orderBy != null && _orderBy.keySet().size() > 0 )
336336
return true;
337337

338-
if ( _hint != null )
338+
if ( _hint != null || _snapshot )
339339
return true;
340340

341341
return _explain;

0 commit comments

Comments
 (0)