diff options
Diffstat (limited to 'db/query.cpp')
-rw-r--r-- | db/query.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/query.cpp b/db/query.cpp index 7f23ac8..671e714 100644 --- a/db/query.cpp +++ b/db/query.cpp @@ -1163,7 +1163,7 @@ namespace mongo { cc = new ClientCursor(queryOptions, multi, ns, jsobj.getOwned()); } else { - cursor->setMatcher( dqo.matcher() ); + if( ! cursor->matcher() ) cursor->setMatcher( dqo.matcher() ); cc = new ClientCursor( queryOptions, cursor, ns, jsobj.getOwned() ); } cursorid = cc->cursorid(); |