mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08: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…
Reference in New Issue
Block a user