diff options
Diffstat (limited to 'src/mongo/db/exec/index_scan.cpp')
-rw-r--r-- | src/mongo/db/exec/index_scan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/index_scan.cpp b/src/mongo/db/exec/index_scan.cpp index 0c64eaf721b..03b29817202 100644 --- a/src/mongo/db/exec/index_scan.cpp +++ b/src/mongo/db/exec/index_scan.cpp @@ -76,8 +76,8 @@ IndexScan::IndexScan(ExpressionContext* expCtx, _forward(params.direction == 1), _shouldDedup(params.shouldDedup), _addKeyMetadata(params.addKeyMetadata), - _startKeyInclusive(IndexBounds::isStartIncludedInBound(params.bounds.boundInclusion)), - _endKeyInclusive(IndexBounds::isEndIncludedInBound(params.bounds.boundInclusion)) { + _startKeyInclusive(IndexBounds::isStartIncludedInBound(_bounds.boundInclusion)), + _endKeyInclusive(IndexBounds::isEndIncludedInBound(_bounds.boundInclusion)) { _specificStats.indexName = params.name; _specificStats.keyPattern = _keyPattern; _specificStats.isMultiKey = params.isMultiKey; |