• Staale Smedseng's avatar
    Bug #45058 init_available_charsets uses double checked locking · 600a2836
    Staale Smedseng authored
    A client doing multiple mysql_library_init() and
    mysql_library_end() calls over the lifetime of the process may
    experience lost character set data, potentially even a
    SIGSEGV.
    
    This patch reinstates the reloading of character set data when
    a mysql_library_init() is done after a mysql_library_end().
    
    600a2836
mysqld.cc 324 KB