diff options
author | samontea <merciers.merciers@gmail.com> | 2019-06-07 16:11:25 -0400 |
---|---|---|
committer | samontea <merciers.merciers@gmail.com> | 2019-07-10 16:29:06 -0400 |
commit | a4ef14ef41f0700ef07e5b57b0345d2396a44604 (patch) | |
tree | 9fe5a652acecb2b98cb09240b3fc90e47eb66452 /src/mongo/db/pipeline/document_source_cursor.cpp | |
parent | 6bba6446e632b557ccc03834d4d48e90336679fc (diff) | |
download | mongo-a4ef14ef41f0700ef07e5b57b0345d2396a44604.tar.gz |
SERVER-40755 Expose statistics which indicate how many collection scans have executed
Diffstat (limited to 'src/mongo/db/pipeline/document_source_cursor.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_cursor.cpp b/src/mongo/db/pipeline/document_source_cursor.cpp index 1d971d188a8..f4e53f20d16 100644 --- a/src/mongo/db/pipeline/document_source_cursor.cpp +++ b/src/mongo/db/pipeline/document_source_cursor.cpp @@ -322,7 +322,7 @@ DocumentSourceCursor::DocumentSourceCursor( } if (collection) { - collection->infoCache()->notifyOfQuery(pExpCtx->opCtx, _planSummaryStats.indexesUsed); + collection->infoCache()->notifyOfQuery(pExpCtx->opCtx, _planSummaryStats); } } |