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

Enhance MySql CommandLine Case #523

Merged
merged 4 commits into from
May 23, 2023
Merged

Conversation

hocktea214
Copy link
Collaborator

@hocktea214 hocktea214 commented May 23, 2023

Description

Quit is one-way request which will be recognized as no response data, therefore we ignore the quit command datas.
Fix MySQL get no sql with ComandLine.

Related Issue

Motivation and Context

Refer to MySQL_COM_QUERY, commandLine case will add CLIENT_QUERY_ATTRIBUTES info.

How Has This Been Tested?

--- PASS: TestMySqlProtocol
--- PASS: TestMySqlProtocol/commit
--- PASS: TestMySqlProtocol/query-split
--- PASS: TestMySqlProtocol/query
--- PASS: TestMySqlProtocol/oneway
--- PASS: TestMySqlProtocol/query-cmd

Signed-off-by: huxiangyuan <huxiangyuan@harmonycloud.cn>
Signed-off-by: huxiangyuan <huxiangyuan@harmonycloud.cn>
@hocktea214 hocktea214 requested a review from dxsup May 23, 2023 03:38
Signed-off-by: huxiangyuan <huxiangyuan@harmonycloud.cn>
@hocktea214 hocktea214 changed the title Enhance MySql Parser Enhance MySql CommandLine Case May 23, 2023
Signed-off-by: huxiangyuan <huxiangyuan@harmonycloud.cn>
@dxsup dxsup merged commit be8e6e5 into KindlingProject:main May 23, 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