mariadb/storage/innobase/row
Marko Mäkelä 5b63a660dd MDEV-11369/MDEV-12288: Reset DB_TRX_ID on the metadata record
On the hidden metadata record, if instant ALTER TABLE was executed
multiple times on the same table, purge could fail to reset the
DB_TRX_ID,DB_ROLL_PTR on the updated metadata record. This is
only a cosmetic failure that was caught (and separately fixed)
in 10.4 during the MDEV-15562 development. The problem was that
occasionally, innodb.instant_alter_crash would fail with a
result difference due to the DB_TRX_ID,DB_ROLL_PTR not having
been reset on the metadata record.

This bug should have no noticeable impact, because the metadata
record is invisible to the SQL layer, and never subjected to
MVCC or locking.

I was unable to repeat the problem on 10.3.

row_purge_parse_undo_rec(): Set node->ref for the metadata record.
2018-10-20 09:58:34 +03:00
..
row0ext.cc Revert "MDEV-6928: Add trx pointer to struct mtr_t" 2018-01-29 11:05:17 +02:00
row0ftsort.cc Merge 10.2 into 10.3 2018-08-03 15:57:23 +03:00
row0import.cc Terminology: 'metadata record' instead of 'default row' 2018-09-19 07:21:24 +03:00
row0ins.cc MDEV-17483 Insert on delete-marked record can wrongly inherit old values for instantly added column 2018-10-17 18:55:46 +03:00
row0log.cc Terminology: 'metadata record' instead of 'default row' 2018-09-19 07:21:24 +03:00
row0merge.cc Terminology: 'metadata record' instead of 'default row' 2018-09-19 07:21:24 +03:00
row0mysql.cc MDEV-13564: Replace innodb_unsafe_truncate with innodb_safe_truncate 2018-10-11 15:10:13 +03:00
row0purge.cc MDEV-11369/MDEV-12288: Reset DB_TRX_ID on the metadata record 2018-10-20 09:58:34 +03:00
row0quiesce.cc MDEV-16159 Use atomic memory access for purge_sys 2018-05-15 23:01:18 +03:00
row0row.cc Merge 10.2 into 10.3 2018-10-19 09:32:52 +03:00
row0sel.cc Terminology: 'metadata record' instead of 'default row' 2018-09-19 07:21:24 +03:00
row0trunc.cc MDEV-13564: Implement innodb_unsafe_truncate=ON for compatibility 2018-10-11 08:17:04 +03:00
row0uins.cc Terminology: 'metadata' not 'default rec' 2018-09-19 09:12:58 +03:00
row0umod.cc Terminology: 'metadata record' instead of 'default row' 2018-09-19 07:21:24 +03:00
row0undo.cc Terminology: 'metadata' not 'default rec' 2018-09-19 09:12:58 +03:00
row0upd.cc MDEV-13564: Implement innodb_unsafe_truncate=ON for compatibility 2018-10-11 08:17:04 +03:00
row0vers.cc Merge 10.2 into 10.3 2018-08-28 12:22:56 +03:00