• Thirunarayanan Balathandayuthapani's avatar
    MDEV-21344: Uninitialized tbl_buf in dict_acquire_mdl_shared<false>() · 0e25a8b4
    Thirunarayanan Balathandayuthapani authored
    dict_table_t::parse_name(): Properly calculate the *tbl_name_len.
    
    A failure was easily repeatable during the test
    innodb.innodb-alter-debug for the table name test.① ("test/@2460").
    The UTF-8 representation of the U+2460 is only 3 bytes "\xe2\x91\xa0"
    while the filename-safe encoded counterpart of it in dict_table_t::name
    is 5 bytes "@2460".
    
    This bug, introduced by commit ea37b144
    (MDEV-16678), could cause a purge task to hang.
    0e25a8b4
dict0dict.cc 139 KB