[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: File client-MDEV-10340.diff    
Issue Links:
Relates
relates to MDEV-9030 RESET CONNECTION command Open
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
https://dev.mysql.com/doc/refman/5.7/en/mysql-reset-connection.html



 Comments   
Comment by Oleksandr Byelkin [ 2016-10-17 ]

revision-id: dabf6cac60987e88266396a28e40b341899704e6 (mariadb-10.2.2-49-gdabf6ca)
parent(s): 8303aded294ce905bbc513e7ee42623d5f1fdb50
committer: Oleksandr Byelkin
timestamp: 2016-10-17 16:59:36 +0200
message:

MDEV-10340: support COM_RESET_CONNECTION

draft to check with client

Comment by Oleksandr Byelkin [ 2016-12-12 ]

revision-id: e6875772b0d65a6341456a6f4aca3353bbdae3e4 (mariadb-10.2.2-131-ge687577)
parent(s): 7ca1e2abad42a7436e6b668b4568d6fadc2ca165
committer: Oleksandr Byelkin
timestamp: 2016-12-12 14:41:45 +0100
message:

MDEV-10340: support COM_RESET_CONNECTION

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

Generated at Thu Feb 08 07:41:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.