• Staale Smedseng's avatar
    Bug #45058 init_available_charsets uses double checked locking · 04f14347
    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().
    04f14347
my_sys.h 39.8 KB