• svoj@mysql.com/april.(none)'s avatar
    BUG#22937 - Valgrind failure in 'merge' test (ha_myisammrg.cc:329) · 1e82044c
    svoj@mysql.com/april.(none) authored
    This is addition to fix for bug21617. Valgrind reports an error when
    opening merge table that has underlying tables with less indexes than
    in a merge table itself.
    
    Copy at most min(file->keys, table->key_parts) elements from rec_per_key array.
    This fixes problems when merge table and subtables have different number of keys.
    1e82044c
ha_myisammrg.cc 14.4 KB