You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Users may need to terminate long-running queries by executing KILL <connection_id> in another connection, which requires access to the connection_id. While this ID can be obtained using SELECT CONNECTION_ID();, the server actually provides the connection_id during the handshake phase—we simply ignore it.
Would it be possible to store the connection_id in connection_state_data and expose a getter in any_connection for easier access?
Looking forward to your feedback on this proposal. Thanks!
The text was updated successfully, but these errors were encountered:
Description:
Users may need to terminate long-running queries by executing
KILL <connection_id>
in another connection, which requires access to theconnection_id
. While this ID can be obtained usingSELECT CONNECTION_ID();
, the server actually provides theconnection_id
during the handshake phase—we simply ignore it.Would it be possible to store the
connection_id
inconnection_state_data
and expose a getter inany_connection
for easier access?Looking forward to your feedback on this proposal. Thanks!
The text was updated successfully, but these errors were encountered: