diff options
Diffstat (limited to 'src/mongo/db/commands/mr.h')
-rw-r--r-- | src/mongo/db/commands/mr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/commands/mr.h b/src/mongo/db/commands/mr.h index f32924c4bf5..5c3a550cbfe 100644 --- a/src/mongo/db/commands/mr.h +++ b/src/mongo/db/commands/mr.h @@ -42,6 +42,9 @@ namespace mongo { + class Collection; + class Database; + namespace mr { typedef vector<BSONObj> BSONList; @@ -324,6 +327,8 @@ namespace mongo { void switchMode(bool jsMode); void bailFromJS(); + Collection* getCollectionOrUassert(Database* db, const StringData& ns); + const Config& _config; DBDirectClient _db; bool _useIncremental; // use an incremental collection |