Skip to content

Commit

Permalink
fix snapshot()
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Nov 9, 2010
1 parent 847ea63 commit 79ea50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/com/mongodb/DBCursor.java
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ boolean hasSpecialQueryFields(){
if ( _orderBy != null && _orderBy.keySet().size() > 0 )
return true;

if ( _hint != null )
if ( _hint != null || _snapshot )
return true;

return _explain;
Expand Down

0 comments on commit 79ea50c

Please sign in to comment.