mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
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:
@ -1275,7 +1275,7 @@ ExecParallelHashRepartitionFirst(HashJoinTable hashtable)
|
|||||||
dsa_pointer chunk_shared;
|
dsa_pointer chunk_shared;
|
||||||
HashMemoryChunk chunk;
|
HashMemoryChunk chunk;
|
||||||
|
|
||||||
Assert(hashtable->nbatch = hashtable->parallel_state->nbatch);
|
Assert(hashtable->nbatch == hashtable->parallel_state->nbatch);
|
||||||
|
|
||||||
while ((chunk = ExecParallelHashPopChunkQueue(hashtable, &chunk_shared)))
|
while ((chunk = ExecParallelHashPopChunkQueue(hashtable, &chunk_shared)))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user