mariadb/storage
Marko Mäkelä 44314c768f MDEV-15165 InnoDB purge for index on virtual column is trying to access an incomplete record
The algorithm change is based on a MySQL 8.0 fix for
BUG #26818787: ASSERTION: DATA0DATA.IC:430:TUPLE
by Krzysztof Kapuścik
ee606e62bb

If a record had been inserted in place of a delete-marked purgeable
record by modifying that record, and purge was accessing that record
before the off-page columns were written, row_build_index_entry()
would have returned NULL, causing a crash.

row_vers_non_virtual_fields_equal(): Check whether all non-virtual fields
of an index are equal. Replaces row_vers_non_vc_match(). A more complex
version of this function was called row_vers_non_vc_index_entry_match()
in the MySQL 8.0 fix.

row_vers_impl_x_locked_low(): This change is not directly related to
the reported problem, but apparently to the removal of the function
row_vers_non_vc_match(). This function checks if a secondary index
record was modified by a transaction that has not been committed yet.
For comparing the non-virtual columns, construct a secondary index
tuple from the table row.

row_vers_vc_matches_cluster(): Replace row_vers_non_vc_match() with
code that is equivalent to the row_vers_non_vc_index_entry_match()
in the MySQL 8.0 fix. Also, deduplicate some code by using goto.
2018-02-01 18:53:41 +02:00
..
archive
blackhole
cassandra
connect Windows : fix compile warnings C4267, on 32bit first 2018-01-26 10:37:46 +00:00
csv
example
federated MDEV-14272 Mariadb crashes with signal 11 when using federatedx engine and galera 2017-12-28 02:13:25 +01:00
federatedx
heap
innobase MDEV-15165 InnoDB purge for index on virtual column is trying to access an incomplete record 2018-02-01 18:53:41 +02:00
maria Fixed compiler warnings 2018-01-27 15:03:30 +02:00
mroonga MDEV-11415 Remove excessive undo logging during ALTER TABLE…ALGORITHM=COPY 2018-01-30 20:24:23 +02:00
myisam Merge 10.1 into 10.2 2018-01-03 20:42:09 +02:00
myisammrg
oqgraph
perfschema Compilation speed (#546) 2018-01-14 20:50:45 +04:00
rocksdb Better explanation why rpl_row_triggers is disabled. 2018-01-15 21:08:00 +03:00
sequence
sphinx
spider
test_sql_discovery
tokudb Fix some wrong test result 2018-01-30 14:56:33 +02:00
xtradb Merge 10.1 into 10.2 2018-01-11 12:05:57 +02:00