diff options
-rw-r--r-- | src/mongo/db/query/optimizer/cascades/logical_props_derivation.cpp | 1 | ||||
-rw-r--r-- | src/mongo/db/query/optimizer/cascades/memo.cpp | 1 | ||||
-rw-r--r-- | src/mongo/db/query/optimizer/explain.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/query/optimizer/cascades/logical_props_derivation.cpp b/src/mongo/db/query/optimizer/cascades/logical_props_derivation.cpp index 4f2a655a363..510bad791e3 100644 --- a/src/mongo/db/query/optimizer/cascades/logical_props_derivation.cpp +++ b/src/mongo/db/query/optimizer/cascades/logical_props_derivation.cpp @@ -330,6 +330,7 @@ public: } else { distributions.erase(it++); } + break; default: it++; diff --git a/src/mongo/db/query/optimizer/cascades/memo.cpp b/src/mongo/db/query/optimizer/cascades/memo.cpp index d39dc7ccbc5..111247e3138 100644 --- a/src/mongo/db/query/optimizer/cascades/memo.cpp +++ b/src/mongo/db/query/optimizer/cascades/memo.cpp @@ -104,6 +104,7 @@ PhysOptimizationResult::PhysOptimizationResult(size_t index, _physProps(std::move(physProps)), _costLimit(std::move(costLimit)), _nodeInfo(), + _rejectedNodeInfo(), _lastImplementedNodePos(0), _queue() {} diff --git a/src/mongo/db/query/optimizer/explain.cpp b/src/mongo/db/query/optimizer/explain.cpp index 064ffc1c0aa..b813a84ac99 100644 --- a/src/mongo/db/query/optimizer/explain.cpp +++ b/src/mongo/db/query/optimizer/explain.cpp @@ -317,6 +317,7 @@ public: ExplainPrinterImpl(ExplainPrinterImpl&& other) noexcept { _nextFieldName = std::move(other._nextFieldName); _initialized = other._initialized; + _canAppend = other._canAppend; _tag = other._tag; _val = other._val; _fieldNameSet = std::move(other._fieldNameSet); |