Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #44747

### What problem does this PR solve?
Support mysql COM_RESET_CONNECTION command.
Doris server side reset default catalog and return
ctx.getState().setOk()

Python test code:
```
import mysql.connector

connection = mysql.connector.connect(
    host="172.20.32.136", 
    port=29030,
    user="root", 
    password="", 
    database=""
)
print(connection.cmd_reset_connection())
```

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Nov 29, 2024
@doris-robot
Copy link

run buildall

@Jibing-Li
Copy link
Contributor

run feut

@Jibing-Li
Copy link
Contributor

run p0

@Jibing-Li Jibing-Li merged commit abf1d5f into branch-2.1 Dec 2, 2024
12 checks passed
@github-actions github-actions bot deleted the auto-pick-44747-branch-2.1 branch December 2, 2024 04:58
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.

4 participants