1
0
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:
Tom Lane
2013-10-22 00:38:53 -04:00
parent 08612f45a0
commit 2885881147

View File

@ -1430,7 +1430,7 @@ record_image_cmp(FunctionCallInfo fcinfo)
*/
if (!nulls1[i1] || !nulls2[i2])
{
int cmpresult;
int cmpresult = 0;
if (nulls1[i1])
{