mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
compile?
This commit is contained in:
parent
268264c78d
commit
e0ff2261bf
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user