diff --git a/src/gausskernel/optimizer/util/learn/comm.cpp b/src/gausskernel/optimizer/util/learn/comm.cpp index 1978a02ba..4338b73f2 100755 --- a/src/gausskernel/optimizer/util/learn/comm.cpp +++ b/src/gausskernel/optimizer/util/learn/comm.cpp @@ -272,7 +272,7 @@ static GS_UCHAR* DecodeClientKey(StringInfo cahome) return plainpwd; } -static void CleanCertInfo(StringInfo str) +static inline void CleanCertInfo(StringInfo str) { errno_t rc = memset_s(str->data, str->len, 0, str->len); securec_check(rc, "\0", "\0");