fix load data direct worker timeout
This commit is contained in:
@ -1787,7 +1787,6 @@ int ObLoadDataDirectImpl::execute(ObExecContext &ctx, ObLoadDataStmt &load_stmt)
|
||||
ctx_ = &ctx;
|
||||
load_stmt_ = &load_stmt;
|
||||
const ObLoadArgument &load_args = load_stmt_->get_load_arguments();
|
||||
const int64_t original_timeout_us = THIS_WORKER.get_timeout_ts();
|
||||
int64_t total_line_count = 0;
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
@ -1890,7 +1889,6 @@ int ObLoadDataDirectImpl::execute(ObExecContext &ctx, ObLoadDataStmt &load_stmt)
|
||||
}
|
||||
|
||||
direct_loader_.destroy();
|
||||
THIS_WORKER.set_timeout_ts(original_timeout_us);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user