• dlenev@mysql.com's avatar
    Fix for Bug #1952 · d7ebfbab
    dlenev@mysql.com authored
    "SHOW TABLE STATUS very slow w/large number of tables"
    Replaced old algorithm which were used in my_dir() and stored
    all information about directory entries in one chunk of memory
    with new one which stores file names and MY_STAT structures in
    separate memroot, so now we don't need to copy this data during
    reallocation of dir_entry array.
    d7ebfbab
my_dir.h 3.43 KB