From 3c5ecbf30059e0aabfdfa6480d3d7f1b83e86ddf Mon Sep 17 00:00:00 2001 From: lilong Date: Wed, 4 Jan 2023 17:02:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BD=E6=95=B0init=5Ftabentry=5Ftruncate?= =?UTF-8?q?=E7=9A=84=E4=BF=AE=E9=A5=B0=E5=85=B3=E9=94=AE=E5=AD=97inline?= =?UTF-8?q?=E5=BA=94=E6=94=BE=E5=9C=A8=E8=BF=94=E5=9B=9E=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=89=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/process/postmaster/pgstat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gausskernel/process/postmaster/pgstat.cpp b/src/gausskernel/process/postmaster/pgstat.cpp index 3e9443c70..bf8ae00ef 100644 --- a/src/gausskernel/process/postmaster/pgstat.cpp +++ b/src/gausskernel/process/postmaster/pgstat.cpp @@ -6544,7 +6544,7 @@ static void pgstat_recv_inquiry(PgStat_MsgInquiry* msg, int len) g_instance.stat_cxt.last_statrequest = msg->inquiry_time; } -static void inline init_tabentry_truncate(PgStat_StatTabEntry* tabentry, PgStat_TableEntry* tabmsg) +static inline void init_tabentry_truncate(PgStat_StatTabEntry* tabentry, PgStat_TableEntry* tabmsg) { tabentry->n_live_tuples = 0; tabentry->n_dead_tuples = 0;