• Marko Mäkelä's avatar
    MDEV-14837 Duplicate primary keys are allowed after ADD COLUMN / UPDATE · fe79ac5b
    Marko Mäkelä authored
    This bug affected tables where the PRIMARY KEY contains variable-length
    columns, and ROW_FORMAT is COMPACT or DYNAMIC.
    
    rec_init_offsets_comp_ordinary(): Do not short-cut the parsing
    of the record header for records that contain explicit values
    for instantly added columns.
    
    rec_copy_prefix_to_buf(): Copy more header for records that
    contain explicit values for instantly added columns.
    fe79ac5b
rem0rec.cc 70.9 KB