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-24938] add comment to dblink query for statement type checking in gateway #4591

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

beyondykk9
Copy link
Contributor

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

When the gateway checks whether the current query format is SELECT or DML, an error may occur because string parsing is being performed.
So, when sending a query to the gateway, if it puts a comment such as /* DBLINK SELECT */ in front of the query and send it, the gateway can easily determine whether the query is a SELECT statement or a DML statement.

@beyondykk9 beyondykk9 added this to the fig milestone Aug 17, 2023
@beyondykk9 beyondykk9 requested a review from ctshim August 17, 2023 07:52
@beyondykk9 beyondykk9 self-assigned this Aug 17, 2023
@beyondykk9 beyondykk9 merged commit 67c31cd into CUBRID:develop Aug 18, 2023
@beyondykk9 beyondykk9 deleted the CBRD-24938 branch August 18, 2023 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants