Content-Length: 258480 | pFad | http://github.com/postgrespro/postgres/commit/28858811472f316f73eba0e564837088fc8c6ccd

7B Fix blatantly broken record_image_cmp() logic for pass-by-value fields. · postgrespro/postgres@2885881 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/28858811472f316f73eba0e564837088fc8c6ccd

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy