[CP] fix some opt trace bug

This commit is contained in:
zzg19950727
2024-07-01 03:46:53 +00:00
committed by ob-robot
parent 92e7bff34d
commit bd342ab50d
21 changed files with 255 additions and 121 deletions

View File

@ -3796,6 +3796,8 @@ int ObSql::optimize_stmt(
LOG_TRACE("logical plan", KPC(logical_plan));
OPT_TRACE_TIME_USED;
OPT_TRACE_MEM_USED;
OPT_TRACE_TITLE("SYSTEM STATS:");
OPT_TRACE(logical_plan->get_optimizer_context().get_system_stat());
OPT_TRACE(logical_plan);
}