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-24581] Assert occurs when using indexes using IFNULL(), NULLIF() functions #4005

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

ctshim
Copy link
Contributor

@ctshim ctshim commented Dec 16, 2022

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

  • When the return type of the function can vary, the decision of the precision is delayed.
    TP_FLOATING_PRECISION_VALUE is -1, so negative value check in this case is meaningless.
    Remove the assert check and treat it as normal.

@ctshim ctshim self-assigned this Dec 16, 2022
@ctshim ctshim changed the title Assert occurs when using indexes using IFNULL(), NULLIF() functions [CBRD-24581] Assert occurs when using indexes using IFNULL(), NULLIF() functions Dec 16, 2022
@ctshim ctshim merged commit 5c35efd into CUBRID:develop Dec 20, 2022
@ctshim ctshim deleted the CBRD-24581_assert_ifnull_nullif_nvl branch December 20, 2022 23:49
ctshim added a commit to ctshim/cubrid that referenced this pull request Jan 16, 2023
…) functions (CUBRID#4005)

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

* [CBRD-24581] Assert occurs when using indexes using IFNULL(), NULLIF() functions
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.

6 participants