Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CBRD-25317] The problem is that the Oracle-style LEFT OUTER JOIN is not rewritten as an INNER JOIN if there is a method call and host variables are used in the WHERE clause (#5292) #5992

Open
wants to merge 1 commit into
base: release/10.2
Choose a base branch
from

Conversation

Hamkua
Copy link
Contributor

@Hamkua Hamkua commented Mar 6, 2025

…not rewritten as an INNER JOIN if there is a method call and host variables are used in the WHERE clause (CUBRID#5292)

http://jira.cubrid.org/browse/CBRD-25317

After parsing, Oracle-style outer joins have the PT_EXPR_INFO_LEFT_OUTER or PT_EXPR_INFO_RIGHT_OUTER flag set on the PT_EXPR node where the join condition is specified. When converting Oracle-style outer joins to ANSI joins, these flags are not modified, so it appears that the join is changed to an outer join when pt_resolve_names() is called again after recompilation.
@Hamkua Hamkua added the backport label Mar 6, 2025
@Hamkua Hamkua added this to the 10.2 Patch 16 milestone Mar 6, 2025
@Hamkua Hamkua self-assigned this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant