diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-01-31 09:54:43 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-01-31 09:54:43 +0200 |
commit | d87b725eebbddb6d319ee99e51924a62635185a1 (patch) | |
tree | 89f5a6410305a20535b9ad1d42fcacc421f5a236 /mysys | |
parent | 88bcc7f21c294f90140eb5468f7c95ce10dc18e4 (diff) | |
download | mariadb-git-d87b725eebbddb6d319ee99e51924a62635185a1.tar.gz |
MDEV-17844 recs_off_validate() fails in page_zip_write_trx_id_and_roll_ptr()
In commit 0e5a4ac2532c64a545796c787354dc41d61d0e62 (MDEV-15562)
we introduced was a bogus debug check failure that does not affect
the correctness of the release build.
With a fixed-length PRIMARY KEY, we do not have to recompute
the rec_get_offsets() after restarting the mini-transaction,
because the offsets of DB_TRX_ID,DB_ROLL_PTR are not going
to change.
row_undo_mod_clust(): Invoke rec_offs_make_valid() to keep the
debug check in page_zip_write_trx_id_and_roll_ptr() happy.
The scenario to reproduce this bug should be rather unlikely:
In the time frame when row_undo_mod_clust() has committed its
first mini-transaction and has not yet started the next one,
another mini-transaction must do something that causes the page
to be reorganized, split or merged.
Diffstat (limited to 'mysys')
0 files changed, 0 insertions, 0 deletions