diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2016-12-15 17:30:15 -0500 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2016-12-16 17:37:51 -0500 |
commit | 15fc05860775df882b588ce64764dd59e773af84 (patch) | |
tree | 56fd2e0e599a6e70007617b98db08fb2da389114 /src/mongo/dbtests/documentsourcetests.cpp | |
parent | e50c923ff402a4b2276e62e053eb5326c06b8976 (diff) | |
download | mongo-15fc05860775df882b588ce64764dd59e773af84.tar.gz |
SERVER-27253 Bump index usage stats during $lookup.
Diffstat (limited to 'src/mongo/dbtests/documentsourcetests.cpp')
-rw-r--r-- | src/mongo/dbtests/documentsourcetests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/dbtests/documentsourcetests.cpp b/src/mongo/dbtests/documentsourcetests.cpp index 51d34334ecd..a5add096d27 100644 --- a/src/mongo/dbtests/documentsourcetests.cpp +++ b/src/mongo/dbtests/documentsourcetests.cpp @@ -110,7 +110,8 @@ protected: exec->saveState(); exec->registerExec(ctx.getCollection()); - _source = DocumentSourceCursor::create(nss.ns(), std::move(exec), _ctx); + _source = + DocumentSourceCursor::create(ctx.getCollection(), nss.ns(), std::move(exec), _ctx); } intrusive_ptr<ExpressionContextForTest> ctx() { |