fix not gather histogram bug when analyze table with SIZE AUTO

This commit is contained in:
Larry955 2023-07-13 11:24:03 +00:00 committed by ob-robot
parent e01430ff87
commit ac62ba8388

View File

@ -60,6 +60,8 @@ int ObAnalyzeExecutor::execute(ObExecContext &ctx, ObAnalyzeStmt &stmt)
LOG_USER_ERROR(OB_NOT_SUPPORTED, "analyze table during restore or standby cluster");
} else if (OB_FAIL(stmt.fill_table_stat_param(ctx, param))) {
LOG_WARN("failed to fill table stat param", K(ret));
} else if (OB_FAIL(pl::ObDbmsStats::process_not_size_manual_column(ctx, param))) {
LOG_WARN("failed to process not size_manual column", K(ret));
} else if (!stmt.is_delete_histogram()) {
int64_t task_cnt = 1;
int64_t seq_id = 1;