[CP] fix bug of NO_GATHER_OPTIMIZER_STATISTICS no affect
This commit is contained in:
@ -78,6 +78,7 @@ int ObTableDirectInsertCtx::init(ObExecContext *exec_ctx,
|
||||
param.max_error_row_count_ = 0;
|
||||
param.dup_action_ = sql::ObLoadDupActionType::LOAD_STOP_ON_DUP;
|
||||
param.sql_mode_ = sql_mode;
|
||||
param.online_opt_stat_gather_ = is_online_gather_statistics_;
|
||||
if (OB_FAIL(table_load_instance_->init(param, store_column_idxs, load_exec_ctx_))) {
|
||||
LOG_WARN("failed to init direct loader", KR(ret));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user