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
1 changed files with 1 additions and 1 deletions

View File

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