提交 8e89a8e3 编写于 作者: O obdev 提交者: ob-robot

add abort() for sanity build when tsc iter is not released

上级 5d5bdf2d
......@@ -163,6 +163,9 @@ ObDASScanOp::~ObDASScanOp()
if (result_ != nullptr && result_->get_type() == ObNewRowIterator::ObTableScanIterator) {
LOG_ERROR_RET(OB_ERR_UNEXPECTED, "table scan iter is not released, maybe some bug occured",
KPC(scan_ctdef_), K(scan_param_), KPC(scan_rtdef_));
#ifdef ENABLE_SANITY
abort();
#endif
}
scan_param_.destroy();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册