Fix assert with side effects in the new PHJ code.
Instead of asserting the assert just set the value to what it was supposed to test... Per coverity.
This commit is contained in:
parent
c4c2885cbb
commit
4e2970f880
@ -1275,7 +1275,7 @@ ExecParallelHashRepartitionFirst(HashJoinTable hashtable)
|
||||
dsa_pointer chunk_shared;
|
||||
HashMemoryChunk chunk;
|
||||
|
||||
Assert(hashtable->nbatch = hashtable->parallel_state->nbatch);
|
||||
Assert(hashtable->nbatch == hashtable->parallel_state->nbatch);
|
||||
|
||||
while ((chunk = ExecParallelHashPopChunkQueue(hashtable, &chunk_shared)))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user