diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2016-12-15 17:30:15 -0500 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2017-03-01 17:14:49 -0500 |
commit | a29259892f0577dfb045b5eeb351bff7ee721116 (patch) | |
tree | 98705dd6bf160df5c4fc8c7e625b508f0416d293 /src/mongo/dbtests/documentsourcetests.cpp | |
parent | d89fbf8e72dc9ce8784cfcbccbd43cb3cc3d2c46 (diff) | |
download | mongo-a29259892f0577dfb045b5eeb351bff7ee721116.tar.gz |
SERVER-27253 Bump index usage stats during $lookup.
(cherry picked from commit 15fc05860775df882b588ce64764dd59e773af84)
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() { |