0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
dwight 2010-07-19 22:40:22 -04:00
parent 268264c78d
commit e0ff2261bf

View File

@ -43,7 +43,7 @@ namespace mongo {
bool haveCursor() { return cursor.get() != 0; }
void tailingQuery(const char *ns, BSONObj& query) {
void tailingQuery(const char *ns, const BSONObj& query) {
assert( !haveCursor() );
log(2) << "repl: " << ns << ".find(" << query.toString() << ')' << endl;
cursor = _conn->query( ns, query, 0, 0, 0,