-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Fully Compatible
-
ALL
-
Query 2018-09-10
A scalar field is not initialized by the constructor
Defect 104978 (STATIC_C)
Checker UNINIT_CTOR (subcategory none)
File: /src/mongo/db/pipeline/document_source_merge_cursors.cpp
Function mongo::DocumentSourceMergeCursors::DocumentSourceMergeCursors(mongo::executor::TaskExecutor *, mongo::AsyncResultsMergerParams, const boost::intrusive_ptr<mongo::ExpressionContext> &, boost::optional<mongo::BSONObj>)
/src/mongo/db/pipeline/document_source_merge_cursors.h, line: 164
Class member declaration for "_execContext".
RouterExecStage::ExecContext _execContext;
/src/mongo/db/pipeline/document_source_merge_cursors.cpp, line: 53
Non-static class member "_execContext" is not initialized in this constructor nor in any functions that it calls.
_armParams(std::move(armParams)) {}
- is related to
-
SERVER-33323 Refactor $mergeCursors stage to allow it to be used to merge cursors on mongos
- Closed