Bug #92614 Remove THD::convert_buffer
Submitted: 1 Oct 2018 10:02 Modified: 3 Oct 2018 13:29
Reporter: Jon Olav Hauglid Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.14 OS:Any
Assigned to: CPU Architecture:Any

[1 Oct 2018 10:02] Jon Olav Hauglid
The THD class contains this member
String convert_buffer;                // buffer for charset conversions
which is used as a temporary buffer by THD::convert_string().

This means that THD::convert_string() is not thread safe, which is a problem for multi-threaded execution.

It turns out that THD::convert_buffer and THD::convert_string can relatively easily be removed.

How to repeat:
[3 Oct 2018 13:29] Paul Dubois
Posted by developer:
Fixed in 8.0.15.

Code cleanup. No changelog entry needed.