Similar branches
lexborisov opened this issue · comments
Alexander commented
Hello, everyone!
Same comparison in branching. Please, see line 773 and 780 of src/parser/outfuncs.c file.
if (node->jointype == JOIN_INNER)
/* and */
else if (node->jointype == JOIN_INNER)
if (node->jointype == JOIN_INNER)
{
if (node->usingClause == NIL && node->quals == NULL && !node->isNatural)
appendStringInfoString(str, " CROSS JOIN ");
else
appendStringInfoString(str, " JOIN ");
}
else if (node->jointype == JOIN_INNER)
appendStringInfoString(str, " JOIN ");
Which is correct?
Bo Peng commented
@lexborisov Thank you for pointing out this issue.
line 780 should be deleted.
I have fixed this issue d34d808
Alexander commented
Thanks!