diff options
author | Drew Paroski <drew.paroski@mongodb.com> | 2022-01-05 21:25:34 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-07 22:34:03 +0000 |
commit | ffe5b8d344e1bec1393c883917ac61ce0fd1dd2f (patch) | |
tree | 10592bd47c1a676f44c9a078e83fd028a1d2a632 /src/mongo/db/exec | |
parent | 9b083f4816495579a8e30451c457907cfee5a30d (diff) | |
download | mongo-ffe5b8d344e1bec1393c883917ac61ce0fd1dd2f.tar.gz |
SERVER-62433 Fix endianness bug in MaterializedRowValueBuilder::getValue()
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: |