Fix table load major sstable max_merged_trans_verison

This commit is contained in:
obdev
2023-03-08 10:41:43 +00:00
committed by ob-robot
parent c7a21a2b49
commit 1bd697ad25
18 changed files with 58 additions and 24 deletions

View File

@ -2048,6 +2048,7 @@ int ObLoadDataDirectImpl::init_execute_context()
load_param.sql_mode_ = execute_param_.sql_mode_;
load_param.px_mode_ = false;
load_param.online_opt_stat_gather_ = execute_param_.online_opt_stat_gather_;
load_param.snapshot_version_ = ObTimeUtil::current_time_ns();
if (OB_FAIL(direct_loader_.init(load_param,
execute_param_.store_column_idxs_, &execute_ctx_))) {
LOG_WARN("fail to init direct loader", KR(ret));