• Marko Mäkelä's avatar
    Bug#58912 InnoDB unnecessarily avoids update-in-place on column prefix indexes · d0c5c8f5
    Marko Mäkelä authored
    row_upd_changes_ord_field_binary(): Do not return TRUE if the update
    vector changes a column that is covered by a prefix index, but does
    not change the column prefix. Add the row_ext_t parameter for
    determining whether the prefixes of externally stored columns match.
    
    dfield_datas_are_binary_equal(): Add the parameter len, for comparing
    column prefixes when len > 0.
    
    innodb.test: Add a test case where the patch of Bug #55284 failed
    without this fix.
    
    rb:537 approved by Jimmy Yang
    d0c5c8f5
row0umod.c 23.4 KB