Browse Source
Bug#58912 InnoDB unnecessarily avoids update-in-place on column prefix indexes
Bug#58912 InnoDB unnecessarily avoids update-in-place on column prefix indexes
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 Yangpull/73/head
10 changed files with 128 additions and 42 deletions
-
8mysql-test/suite/innodb_plugin/r/innodb.result
-
12mysql-test/suite/innodb_plugin/t/innodb.test
-
10storage/innodb_plugin/ChangeLog
-
3storage/innodb_plugin/btr/btr0cur.c
-
11storage/innodb_plugin/include/data0data.h
-
22storage/innodb_plugin/include/data0data.ic
-
5storage/innodb_plugin/include/row0upd.h
-
2storage/innodb_plugin/row/row0purge.c
-
4storage/innodb_plugin/row/row0umod.c
-
93storage/innodb_plugin/row/row0upd.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue