diff options
author | Jason Chan <jason.chan@mongodb.com> | 2020-07-15 11:36:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-15 12:00:27 +0000 |
commit | 113a4c0b7835cb5b69af75f042406ae82820a5ce (patch) | |
tree | 172b49a816236b6613ee8678915c92f68ad9bfcd /src/mongo/db/storage/key_string.h | |
parent | c6d6f989ef0b320c36bf62e4fd7dd0c4d335da38 (diff) | |
download | mongo-113a4c0b7835cb5b69af75f042406ae82820a5ce.tar.gz |
Revert "SERVER-49351 Implement readKeyStringValueIntoAccessors()"
This reverts commit 0daf2a1c327da1af9c53009cca44a6597373c482.
Diffstat (limited to 'src/mongo/db/storage/key_string.h')
-rw-r--r-- | src/mongo/db/storage/key_string.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mongo/db/storage/key_string.h b/src/mongo/db/storage/key_string.h index a87eea8a6c1..8582e9d2e30 100644 --- a/src/mongo/db/storage/key_string.h +++ b/src/mongo/db/storage/key_string.h @@ -48,10 +48,6 @@ namespace mongo { -namespace sbe::value { -class ValueBuilder; -} - namespace KeyString { enum class Version : uint8_t { V0 = 0, V1 = 1, kLatestVersion = V1 }; @@ -955,18 +951,6 @@ RecordId decodeRecordId(BufReader* reader); int compare(const char* leftBuf, const char* rightBuf, size_t leftSize, size_t rightSize); -/** - * Read one KeyString component from the given 'reader' and 'typeBits' inputs and stream it to the - * 'valueBuilder' object, which converts it to a "Slot-Based Execution" (SBE) representation. When - * no components remain in the KeyString, this function returns false and leaves 'valueBuilder' - * unmodified. - */ -bool readSBEValue(BufReader* reader, - TypeBits::Reader* typeBits, - bool inverted, - Version version, - sbe::value::ValueBuilder* valueBuilder); - template <class BufferT> template <class T> int BuilderBase<BufferT>::compare(const T& other) const { |