summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r--src/mongo/db/exec/sbe/values/value_builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sbe/values/value_builder.h b/src/mongo/db/exec/sbe/values/value_builder.h
index 4f1dd4d475c..c3937a1d221 100644
--- a/src/mongo/db/exec/sbe/values/value_builder.h
+++ b/src/mongo/db/exec/sbe/values/value_builder.h
@@ -357,7 +357,7 @@ private:
return {true, ksTag, ksVal};
}
case TypeTags::RecordId: {
- auto ridValue = buf.read<int64_t>();
+ int64_t ridValue = buf.read<LittleEndian<int64_t>>();
return {false, TypeTags::RecordId, bitcastFrom<int64_t>(ridValue)};
}
default: