Delete unnecessary if branch.
authorBo Peng <pengbo@sraoss.co.jp>
Mon, 20 May 2024 05:18:35 +0000 (14:18 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Mon, 20 May 2024 05:19:13 +0000 (14:19 +0900)
https://github.com/pgpool/pgpool2/issues/52

src/parser/outfuncs.c

index 1f91f76201740209a5cb975a01f9719b64edbb9b..2ec3cc7e2539a92b158d08cc187c3287b9a9c5b9 100644 (file)
@@ -756,8 +756,6 @@ _outJoinExpr(String * str, JoinExpr *node)
                else
                        string_append_char(str, " JOIN ");
        }
-       else if (node->jointype == JOIN_INNER)
-               string_append_char(str, " JOIN ");
        else if (node->jointype == JOIN_LEFT)
                string_append_char(str, " LEFT OUTER JOIN ");
        else if (node->jointype == JOIN_FULL)