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-25374] sort-limit-optimization does not work when there is an expression containing a bind variable in the limit clause. #5225

Merged
merged 3 commits into from
Jun 14, 2024

Conversation

shparkcubrid
Copy link
Contributor

@shparkcubrid shparkcubrid commented May 22, 2024

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

In semantic check, the type of expr node containing host var is not evaluated. Because of this, an error occurs in the const folding. In pt_evaluate_tree_internal(), host_var is changed to a value, so the type of the expr node containing host_var should be rechecked.

@shparkcubrid shparkcubrid self-assigned this May 22, 2024
@shparkcubrid shparkcubrid changed the title [CBRD-25374] sort-limit-optimization is not performed when there is an expression containing a bind variable in the limit clause. [CBRD-25374] sort-limit-optimization does not work when there is an expression containing a bind variable in the limit clause. May 22, 2024
@shparkcubrid shparkcubrid merged commit e7a7093 into CUBRID:develop Jun 14, 2024
9 checks passed
@shparkcubrid shparkcubrid deleted the CBRD-25374 branch June 14, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants