replace ts related to ddl with scn.
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
#include "sql/rewrite/ob_transform_utils.h"
|
||||
#include "sql/optimizer/ob_opt_est_cost.h"
|
||||
#include "sql/optimizer/ob_join_order.h"
|
||||
|
||||
#include "common/ob_smart_call.h"
|
||||
|
||||
using namespace oceanbase;
|
||||
using namespace sql;
|
||||
@ -128,7 +128,7 @@ int ObLogUpdate::re_est_cost(EstimateCostInfo ¶m, double &card, double &cost
|
||||
double child_card = child->get_card();
|
||||
double child_cost = child->get_cost();
|
||||
double op_cost = 0.0;
|
||||
if (OB_FAIL(child->re_est_cost(param, child_card, child_cost))) {
|
||||
if (OB_FAIL(SMART_CALL(child->re_est_cost(param, child_card, child_cost)))) {
|
||||
LOG_WARN("failed to re est exchange cost", K(ret));
|
||||
} else if (OB_FAIL(inner_est_cost(child_card, op_cost))) {
|
||||
LOG_WARN("failed to get update cost", K(ret));
|
||||
|
||||
Reference in New Issue
Block a user