From 6072736e78800d979c4bd145eaa33dbff407e368 Mon Sep 17 00:00:00 2001 From: ChangerR Date: Mon, 22 Jul 2024 08:16:51 +0000 Subject: [PATCH] fix sample_size is null cause 4152 when generate plan --- src/share/stat/ob_opt_stat_sql_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/stat/ob_opt_stat_sql_service.cpp b/src/share/stat/ob_opt_stat_sql_service.cpp index 085c8b7fed..0da0414c94 100644 --- a/src/share/stat/ob_opt_stat_sql_service.cpp +++ b/src/share/stat/ob_opt_stat_sql_service.cpp @@ -1191,7 +1191,7 @@ int ObOptStatSqlService::fill_table_stat(common::sqlclient::ObMySQLResult &resul 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; }