Skip to content

Commit 1ce069b

Browse files
committed
Got tired of explaining why this Assert is not wrong.
1 parent 55e4ef1 commit 1ce069b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/utils/hash/dynahash.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.44 2002/09/02 02:47:05 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.45 2002/10/31 21:59:32 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -540,7 +540,8 @@ hash_search(HTAB *hashp,
540540
/*
541541
* Try to catch subsequent errors
542542
*/
543-
Assert(currBucket && !(saveState.currBucket = NULL));
543+
Assert(currBucket);
544+
saveState.currBucket = NULL;
544545
}
545546
else
546547
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy