mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Fix blatantly broken record_image_cmp() logic for pass-by-value fields.
Doesn't anybody here pay attention to compiler warnings?
This commit is contained in:
@ -1430,7 +1430,7 @@ record_image_cmp(FunctionCallInfo fcinfo)
|
||||
*/
|
||||
if (!nulls1[i1] || !nulls2[i2])
|
||||
{
|
||||
int cmpresult;
|
||||
int cmpresult = 0;
|
||||
|
||||
if (nulls1[i1])
|
||||
{
|
||||
|
Reference in New Issue
Block a user