summaryrefslogtreecommitdiff
path: root/db/oplog.h
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2010-08-23 11:45:32 -0400
committerDwight <dwight@10gen.com>2010-08-23 11:45:32 -0400
commit857bd9b4dc29312c2851893aa14531f49eba770a (patch)
tree995161c3396b6d6e750e7e135c25bcf6907890a9 /db/oplog.h
parent22aa421d980e85a2e4eb87fb7a6a04ac6d128817 (diff)
downloadmongo-857bd9b4dc29312c2851893aa14531f49eba770a.tar.gz
more const
Diffstat (limited to 'db/oplog.h')
-rw-r--r--db/oplog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/oplog.h b/db/oplog.h
index d1e49900dc9..34c345f31e0 100644
--- a/db/oplog.h
+++ b/db/oplog.h
@@ -195,7 +195,7 @@ namespace mongo {
// Use a ClientCursor here so we can release db mutex while scanning
// oplog (can take quite a while with large oplogs).
shared_ptr<Cursor> c = _qp.newReverseCursor();
- _findingStartCursor = new ClientCursor(QueryOption_NoCursorTimeout, c, _qp.ns());
+ _findingStartCursor = new ClientCursor(QueryOption_NoCursorTimeout, c, _qp.ns(), BSONObj());
_findingStartTimer.reset();
_findingStartMode = Initial;
BSONElement tsElt = _qp.originalQuery()[ "ts" ];