From f249a90a151fcd4e6a075ae3a54c3bafed176cc2 Mon Sep 17 00:00:00 2001 From: sqyyeah <948885883@qq.com> Date: Mon, 11 Jan 2021 14:55:25 +0800 Subject: [PATCH] change func to inline func --- src/gausskernel/optimizer/util/learn/comm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");