[MDEV-10340] support COM_RESET_CONNECTION Created: 2016-07-06 Updated: 2017-02-10 Resolved: 2017-01-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Fix Version/s: | 10.2.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Ben Page | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Sprint: | 10.2.3-2, 10.2.4-1, 10.2.4-5 | ||||||||
| Description |
|
MySQL added the COM_RESET_CONNECTION command as a lightweight way to reset the session state. This is an extremely important feature to ensure pooled connections have a predictable state. It's also important because MySQL clients are beginning to support this command. https://dev.mysql.com/doc/internals/en/com-reset-connection.html |
| Comments |
| Comment by Oleksandr Byelkin [ 2016-10-17 ] |
|
revision-id: dabf6cac60987e88266396a28e40b341899704e6 (mariadb-10.2.2-49-gdabf6ca)
draft to check with client — |
| Comment by Oleksandr Byelkin [ 2016-12-12 ] |
|
revision-id: e6875772b0d65a6341456a6f4aca3353bbdae3e4 (mariadb-10.2.2-131-ge687577)
draft to check with client — |
| Comment by Sergei Golubchik [ 2016-12-27 ] |
|
please add test cases. I think you can do it with simple_command from mysql_client_test.c |
| Comment by Oleksandr Byelkin [ 2016-12-27 ] |
|
Not really (nead some cleanup on client side), but I have other patch for client and even test there (Georg was reviewing it, I'll send it) |
| Comment by Oleksandr Byelkin [ 2016-12-27 ] |
|
I attached client changes |