v.19.8Improvements
Improvements of Mysql Wire Protocol
Improvements of MySQL Wire Protocol. Changed name of format to MySQLWire. Using RAII for calling RSA_free. Disabling SSL if context cannot be created. #5419 (Yuriy Baranov)
Why it matters
These improvements enhance the stability, reliability, and clarity of the MySQL Wire Protocol interface in ClickHouse. Renaming the format clarifies usage, RAII ensures proper resource cleanup to prevent memory leaks, and disabling SSL fallback avoids connection failures when SSL initialization is problematic, providing a better user experience.How to use it
To use the updated MySQL Wire Protocol, specify the format asMySQLWire in your configuration or queries. SSL will be automatically disabled if the SSL context cannot be created, requiring no manual action from the user.