mirror of
https://github.com/postgres/postgres.git
synced 2025-05-31 00:01:57 -04: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:
parent
08612f45a0
commit
2885881147
@ -1430,7 +1430,7 @@ record_image_cmp(FunctionCallInfo fcinfo)
|
||||
*/
|
||||
if (!nulls1[i1] || !nulls2[i2])
|
||||
{
|
||||
int cmpresult;
|
||||
int cmpresult = 0;
|
||||
|
||||
if (nulls1[i1])
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user