diff options
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r-- | src/mongo/db/exec/sbe/values/value_builder.h | 2 |
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: |