summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/sbe/stages/ix_scan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/sbe/stages/ix_scan.cpp')
-rw-r--r--src/mongo/db/exec/sbe/stages/ix_scan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sbe/stages/ix_scan.cpp b/src/mongo/db/exec/sbe/stages/ix_scan.cpp
index 9483505b298..0bed934ea82 100644
--- a/src/mongo/db/exec/sbe/stages/ix_scan.cpp
+++ b/src/mongo/db/exec/sbe/stages/ix_scan.cpp
@@ -298,7 +298,7 @@ PlanState IndexScanStage::getNext() {
if (_recordIdAccessor) {
_recordIdAccessor->reset(value::TypeTags::RecordId,
- value::bitcastFrom<int64_t>(_nextRecord->loc.asLong()));
+ value::bitcastFrom<int64_t>(_nextRecord->loc.getLong()));
}
if (_accessors.size()) {