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-24893] Gateway's DML bug fixed #4535

Merged
merged 7 commits into from
Aug 4, 2023
Merged

[CBRD-24893] Gateway's DML bug fixed #4535

merged 7 commits into from
Aug 4, 2023

Conversation

airnet73
Copy link
Contributor

@airnet73 airnet73 commented Jul 28, 2023

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

Purpose

  • Add error messages for ODBC Driver's own errors
  • Oracle does not support BIGINT, so BIGINT is changed to Numeric.
  • change the binding method of double, float, decimal and numeric types in mariadb
  • Modifying the number of rows in which insert, delete, update, and merge statements were performed

Implementation
N/A

Remarks
N/A

@airnet73 airnet73 requested a review from kisoo-han July 28, 2023 10:18
@airnet73 airnet73 self-assigned this Jul 28, 2023
@@ -1227,6 +1252,17 @@ cgw_set_bindparam (T_CGW_HANDLE * handle, int bind_num, void *net_type, void *ne
data_size = 0;
}

// Oracle ODBC does not support the BIGINT type.
// So, change it to Numeric type.
if (curr_dbms_type == SUPPORTED_DBMS_ORACLE)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about remove inner-if by changing if condition

if (curr_dbms_type == SUPPORTED_DBMS_ORACLE && type == CCI_U_TYPE_BIGINT)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the advice.

@airnet73 airnet73 requested a review from kisoo-han August 1, 2023 03:40
@airnet73 airnet73 merged commit 749087d into CUBRID:develop Aug 4, 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.

2 participants