Skip to content

Commit 2885881

Browse files
committed
Fix blatantly broken record_image_cmp() logic for pass-by-value fields.
Doesn't anybody here pay attention to compiler warnings?
1 parent 08612f4 commit 2885881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/rowtypes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ record_image_cmp(FunctionCallInfo fcinfo)
14301430
*/
14311431
if (!nulls1[i1] || !nulls2[i2])
14321432
{
1433-
int cmpresult;
1433+
int cmpresult = 0;
14341434

14351435
if (nulls1[i1])
14361436
{

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