[scn] fix failure of mittest after refresh feature scn
This commit is contained in:
@ -18,7 +18,6 @@
|
||||
#include "sql/rewrite/ob_transform_utils.h"
|
||||
#include "sql/optimizer/ob_opt_selectivity.h"
|
||||
#include "sql/optimizer/ob_join_order.h"
|
||||
#include "common/ob_smart_call.h"
|
||||
using namespace oceanbase::sql;
|
||||
using namespace oceanbase::common;
|
||||
using namespace oceanbase::sql::log_op_def;
|
||||
@ -109,7 +108,7 @@ int ObLogCount::re_est_cost(EstimateCostInfo ¶m, double &card, double &cost)
|
||||
param.need_row_count_ /= sel;
|
||||
}
|
||||
}
|
||||
if (OB_FAIL(SMART_CALL(child->re_est_cost(param, child_card, child_cost)))) {
|
||||
if (OB_FAIL(child->re_est_cost(param, child_card, child_cost))) {
|
||||
LOG_WARN("failed to est child cost", K(ret));
|
||||
} else if (OB_FAIL(inner_est_cost(child_card, child_cost, false, sel, op_cost))) {
|
||||
LOG_WARN("failed to est count cost", K(ret));
|
||||
|
||||
Reference in New Issue
Block a user