Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2df465e

Browse files
committed
Fix pointer type in size passed to memset.
Pointers are all the same size, so it makes no practical difference, butlet's be tidy.Found by Coverity, noted off-list by Tom Lane.
1 parentfe550b2 commit2df465e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/executor/nodeHash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ ExecHashIncreaseNumBatches(HashJoinTable hashtable)
625625
* buckets now and not have to keep track which tuples in the buckets have
626626
* already been processed. We will free the old chunks as we go.
627627
*/
628-
memset(hashtable->buckets,0,sizeof(HashJoinTuple*)*hashtable->nbuckets);
628+
memset(hashtable->buckets,0,sizeof(HashJoinTuple)*hashtable->nbuckets);
629629
oldchunks=hashtable->chunks;
630630
hashtable->chunks=NULL;
631631

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp