fix sample_size is null cause 4152 when generate plan

This commit is contained in:
ChangerR
2024-07-22 08:16:51 +00:00
committed by ob-robot
parent ec922fc705
commit 6072736e78

View File

@ -1191,7 +1191,7 @@ int ObOptStatSqlService::fill_table_stat(common::sqlclient::ObMySQLResult &resul
stat.set_stat_expired_time(ObTimeUtility::current_time() + ObOptStatMonitorCheckTask::CHECK_INTERVAL); stat.set_stat_expired_time(ObTimeUtility::current_time() + ObOptStatMonitorCheckTask::CHECK_INTERVAL);
} }
} }
EXTRACT_INT_FIELD_TO_CLASS_MYSQL(result, sample_size, stat, int64_t); EXTRACT_INT_FIELD_TO_CLASS_MYSQL_SKIP_RET(result, sample_size, stat, int64_t);
} }
return ret; return ret;
} }