summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2020-07-24 15:36:52 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-29 16:34:42 +0000
commit1b29b018a18acf284ba9e6bbb4ecfb4fe85d766a (patch)
treebcddf8494358a7b6e549c7dd562039b4184ba515 /src
parente70bec2633f03c273e4e70e9c1570b5368d91210 (diff)
downloadmongo-1b29b018a18acf284ba9e6bbb4ecfb4fe85d766a.tar.gz
SERVER-49797 Initialize _desc in ephemeralForTest sorted impl in all code paths
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp
index 25db3f1a987..033d9821281 100644
--- a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp
+++ b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp
@@ -1242,6 +1242,7 @@ SortedDataInterfaceBase::SortedDataInterfaceBase(const Ordering& ordering, Strin
: ::mongo::SortedDataInterface(KeyString::Version::V1, ordering),
_prefix(ident.toString().append(1, '\1')),
_identEnd(ident.toString().append(1, '\2')),
+ _desc(nullptr),
_isPartial(false) {}
SortedDataBuilderInterface* SortedDataInterfaceUnique::getBulkBuilder(OperationContext* opCtx,