mariadb/mysql-test/suite/innodb
Marko Mäkelä 25ed665a20 MDEV-25459 MVCC read from index on CHAR or VARCHAR wrongly omits rows
row_sel_sec_rec_is_for_clust_rec(): If the field in the
clustered index record stored off page, always fetch it,
also when the secondary index field has been built on the
entire column. This was broken ever since the InnoDB Plugin
for MySQL Server 5.1 introduced ROW_FORMAT=DYNAMIC and
ROW_FORMAT=COMPRESSED for InnoDB tables. That code was first
introduced in this tree in
commit 3945d5e554.

For the original ROW_FORMAT=REDUNDANT and the MySQL 5.0.3
ROW_FORMAT=COMPRESSED, there was no problem, because for
those tables we always stored at least a 768-byte prefix of
each column in the clustered index record.

row_sel_sec_rec_is_for_blob(): Allow prefix_len==0 for matching
the full column.
2021-04-24 09:26:49 +03:00
..
include MDEV-22653: Remove the useless parameter innodb_simulate_comp_failures 2021-03-22 18:12:44 +02:00
r MDEV-25459 MVCC read from index on CHAR or VARCHAR wrongly omits rows 2021-04-24 09:26:49 +03:00
t MDEV-25459 MVCC read from index on CHAR or VARCHAR wrongly omits rows 2021-04-24 09:26:49 +03:00
disabled.def MDEV-23339 innodb_force_recovery=2 may still abort the rollback of recovered transactions 2020-07-30 09:24:36 +03:00