[bugfix]: shouldn't sync history statistics in offline ddl operations like add-pk, drop-column,etc.

This commit is contained in:
Monk-Liu
2023-04-20 04:45:00 +00:00
committed by ob-robot
parent 9f8e92e0ec
commit 8a94e3f887
6 changed files with 98 additions and 60 deletions

View File

@ -1416,6 +1416,11 @@ void ObDDLTask::check_ddl_task_execute_too_long()
}
}
bool ObDDLTask::check_is_load_data(ObDDLType ddl_type)
{
return (ddl_type == ObDDLType::DDL_DIRECT_LOAD || ddl_type == ObDDLType::DDL_DIRECT_LOAD_INSERT);
}
#ifdef ERRSIM
int ObDDLTask::check_errsim_error()
{