mirror of https://github.com/mongodb/mongo
SERVER-84420: Remove unnecessary tasserts.
GitOrigin-RevId: 0ed764def55f8da546d7f100244445f1fb4073bd
This commit is contained in:
parent
ba3b04db35
commit
dd42977758
|
|
@ -132,7 +132,6 @@ public:
|
|||
* Should not be used once execution has begun.
|
||||
*/
|
||||
std::vector<boost::intrusive_ptr<Expression>>& getMutableIdExpressions() {
|
||||
tassert(7020503, "Can't mutate _id fields after initialization", !_executionStarted);
|
||||
return _idExpressions;
|
||||
}
|
||||
|
||||
|
|
@ -148,8 +147,6 @@ public:
|
|||
* Should not be used once execution has begun.
|
||||
*/
|
||||
std::vector<AccumulationStatement>& getMutableAccumulationStatements() {
|
||||
tassert(
|
||||
7020504, "Can't mutate accumulated fields after initialization", !_executionStarted);
|
||||
return _accumulatedFields;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue