From 214297acef1efacda9f945636554697641065a9d Mon Sep 17 00:00:00 2001 From: wanghao19920907 Date: Mon, 6 Feb 2023 19:02:08 -0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=89=E5=85=A8=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E8=BF=94=E5=9B=9E=E5=80=BC=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/runtime/executor/nodeHash.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gausskernel/runtime/executor/nodeHash.cpp b/src/gausskernel/runtime/executor/nodeHash.cpp index b9791f700..fdf6f8e79 100644 --- a/src/gausskernel/runtime/executor/nodeHash.cpp +++ b/src/gausskernel/runtime/executor/nodeHash.cpp @@ -1154,7 +1154,8 @@ static void ExecHashIncreaseNumBuckets(HashJoinTable hashtable) sizeof(void *) * hashtable->nbuckets, 0, sizeof(void *) * hashtable->nbuckets); - + securec_check(rc, "\0", "\0"); + /* scan through all tuples in all chunks to rebuild the hash table */ for (chunk = hashtable->chunks; chunk != NULL; chunk = chunk->next) { /* process all tuples stored in this chunk */