Skip to content

Conversation

@XenoAmess
Copy link
Contributor

No description provided.

@XenoAmess XenoAmess changed the title SQLOpenStatement is subclass of SQLStatement bug: SQLOpenStatement is subclass of SQLStatement, so hiding. Sep 10, 2022
@XenoAmess XenoAmess force-pushed the SQLOpenStatement_is_subclass_of_SQLStatement branch from d8f6b93 to b4b78c7 Compare October 9, 2022 20:31
@XenoAmess XenoAmess force-pushed the SQLOpenStatement_is_subclass_of_SQLStatement branch from b4b78c7 to 180d10c Compare March 4, 2023 18:53
@zrlw
Copy link
Contributor

zrlw commented Dec 14, 2023

这个PR有问题吧,

        else if ((parent instanceof SQLStatement
                && !(parent instanceof OracleForStatement))
                || (parent instanceof SQLSelectItem
                && (parent.getParent() instanceof SQLPivot || parent.getParent() instanceof SQLUnpivot))
        ) {
             《== 这个分支处理非OracleForStatement、SQLPivot 、SQLUnpivot,应当在SQLOpenStatement分支前执行
        } else if (parent instanceof SQLOpenStatement) {
            visit(subQuery);
        }

@lizongbo lizongbo closed this Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants