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

fix(contrib/drivers/dm): support muti-line sql statement (#4163) #4164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sanrentai
Copy link
Contributor

@sanrentai sanrentai commented Feb 21, 2025

No description provided.

@gqcn
Copy link
Member

gqcn commented Feb 27, 2025

@sanrentai 你好,你这个改动看起来没有什么问题的,但请提交对应的单测。此外,需要注意,多行的sql支持通常需要底层driver配置项的支持才能打开,因为容易产生sql注入的风险。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@sanrentai Hello, your changes seem to be nothing wrong, but please submit the corresponding single test. In addition, it should be noted that multi-line SQL support usually requires the support of the underlying driver configuration item to be opened, because it is easy to cause the risk of SQL injection.

@gqcn gqcn added the missing unit testing cases Used in PR, the associated unit testing cases should be committed. label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing unit testing cases Used in PR, the associated unit testing cases should be committed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants