diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-05-02 15:44:52 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-05-02 15:44:52 +0300 |
commit | 73a10cbcc5178ae5378abb821428d35d3276b4da (patch) | |
tree | 3975499030462d57bbd8533f248636cc2ec9cabf /INSTALL-WIN-SOURCE | |
parent | dcc5de66f45e6362ce20f2a8f1437b032735f996 (diff) | |
download | mariadb-git-73a10cbcc5178ae5378abb821428d35d3276b4da.tar.gz |
MDEV-16065 Assertion failed in btr_pcur_restore_position_func on UPDATE
btr_pcur_store_position(): Assert that the 'default row' record never
is the only record in a page. (If that would happen, an empty
root page would be re-created in the non-instant format, not containing
the special record.) When the cursor is positioned on the page infimum,
never use the 'default row' as the BTR_PCUR_BEFORE reference.
(This is additional cleanup, not fixing the bug.)
rec_copy_prefix_to_buf(): When converting a record prefix to
the non-instant-add format, copy the original number of null flags.
Rename the variable instant_len to instant_omit, and introduce a
few more variables to make the code easiser to read.
Note: In purge, rec_copy_prefix_to_buf() is also used for storing the
persistent cursor position on a 'default row' record. The stored record
reference will be garbage, but row_search_on_row_ref() will do special
handling to reposition the cursor on the 'default row', based on
ref->info_bits.
innodb.dml_purge: Also cover the 'default row'.
Diffstat (limited to 'INSTALL-WIN-SOURCE')
0 files changed, 0 insertions, 0 deletions