添加安全函数返回值检查

This commit is contained in:
wanghao19920907
2023-02-06 19:02:08 -08:00
parent c69efe24e4
commit 214297acef

View File

@ -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 */