pgsql: Fix assert with side effects in the new PHJ code.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix assert with side effects in the new PHJ code.
Date: 2017-12-24 11:02:11
Message-ID: E1eT42l-0008To-Rn@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4e2970f8807f1ccfc8029979a70dc80ee102ce48

Modified Files
--------------
src/backend/executor/nodeHash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Teodor Sigaev 2017-12-25 16:00:26 pgsql: Add polygon opclass for SP-GiST
Previous Message Michael Paquier 2017-12-23 23:48:40 Re: [HACKERS] [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple