Commit 28858811 authored by Tom Lane's avatar Tom Lane

Fix blatantly broken record_image_cmp() logic for pass-by-value fields.

Doesn't anybody here pay attention to compiler warnings?
parent 08612f45
...@@ -1430,7 +1430,7 @@ record_image_cmp(FunctionCallInfo fcinfo) ...@@ -1430,7 +1430,7 @@ record_image_cmp(FunctionCallInfo fcinfo)
*/ */
if (!nulls1[i1] || !nulls2[i2]) if (!nulls1[i1] || !nulls2[i2])
{ {
int cmpresult; int cmpresult = 0;
if (nulls1[i1]) if (nulls1[i1])
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment