• Marko Mäkelä's avatar
    MDEV-21088 Table cannot be loaded after instant ADD/DROP COLUMN · 89f487f2
    Marko Mäkelä authored
    In MariaDB Server 10.4, btr_cur_instant_init_low() assumes that
    all PRIMARY KEY columns that are internally variable-length will
    be encoded in 0 bytes in the metadata record. Sometimes, CHAR
    columns can be encoded as variable-length. We should not
    unnecessarily reserve space for a dummy string value in the
    metadata record.
    89f487f2
handler0alter.cc 273 KB