Skip to content

Commit 5fb0bad

Browse files
nzolnierzmdbMongoDB Bot
authored andcommitted
SERVER-102862 Remove debug assertions in ABT explain destructor (#34310)
GitOrigin-RevId: e607a22
1 parent 726807d commit 5fb0bad

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/mongo/db/query/optimizer/explain.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@ class ExplainPrinterImpl {
108108
_inlineNextChild(false),
109109
_cmdInsertPos(-1) {}
110110

111-
~ExplainPrinterImpl() {
112-
uassert(6624003, "Unmatched indentations", _indentCount == 0);
113-
uassert(6624004, "Incorrect child count mark", _childrenRemaining == 0);
114-
}
115-
116111
ExplainPrinterImpl(const ExplainPrinterImpl& other) = delete;
117112
ExplainPrinterImpl& operator=(const ExplainPrinterImpl& other) = delete;
118113

0 commit comments

Comments
 (0)