[ODBC-401] SQLCancel won't work in case of encrypted connection, and in some other cases Created: 2023-11-21  Updated: 2023-11-25  Resolved: 2023-11-22

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: 3.1.19
Fix Version/s: 3.2.1, 3.1.20

Type: Bug Priority: Major
Reporter: Lawrin Novitsky Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None


 Description   

Current implementation does simple mysql_real_connect to open additional connection to kill the process at the server without any respect of other connection string options and connection attributes. e.g. if encryption is required, SQLCancel(and also SQLCancelHandle in 3.2 branch) will fail.
The fix should use minimal required subset of the usual driver connect routine.


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