v.22.5Improvement

Allow Query Cancellation in MySQLHandler with Consistent Query ID

Allow to cancel a query while still keeping a decent query id in MySQLHandler. #36699 (Amos Bird).
Allows cancellation of queries in MySQLHandler while preserving a meaningful query ID.

Why it matters

This feature enables users to cancel running queries initiated via the MySQL protocol handler without losing the ability to track and identify those queries by a consistent query ID, improving query management and troubleshooting.

How to use it

Users can cancel queries executed through MySQLHandler as usual; the system will maintain a proper query ID to ensure the query remains traceable even after cancellation.