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

Commit4e2970f

Browse files
committed
Fix assert with side effects in the new PHJ code.
Instead of asserting the assert just set the value to what it wassupposed to test...Per coverity.
1 parentc4c2885 commit4e2970f

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
@@ -1275,7 +1275,7 @@ ExecParallelHashRepartitionFirst(HashJoinTable hashtable)
12751275
dsa_pointerchunk_shared;
12761276
HashMemoryChunkchunk;
12771277

1278-
Assert(hashtable->nbatch=hashtable->parallel_state->nbatch);
1278+
Assert(hashtable->nbatch==hashtable->parallel_state->nbatch);
12791279

12801280
while ((chunk=ExecParallelHashPopChunkQueue(hashtable,&chunk_shared)))
12811281
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp