mariadb/storage/innobase
Marko Mäkelä 6d7a826953 MDEV-20788: Bogus assertion failure for PAGE_FREE list
In MDEV-11369 (instant ADD COLUMN) in MariaDB Server 10.3,
we introduced the hidden metadata record that must be the
first record in the clustered index if and only if
index->is_instant() holds.

To catch MDEV-19783, in
commit ed0793e096 and
commit 99dc40d6ac
we added some assertions to find cases where
the metadata record is missing while it should not be, or a
record exists when it should not. Those assertions were invalid
when traversing the PAGE_FREE list. That list can contain anything;
we must only be able to determine the successor and the size of
each garbage record in it.

page_validate(), page_simple_validate_old(), page_simple_validate_new():
Do not invoke page_rec_get_next_const() for traversing the PAGE_FREE
list, but instead use a lower-level accessor that does not attempt to
validate the REC_INFO_MIN_REC_FLAG.

page_copy_rec_list_end_no_locks(),
page_copy_rec_list_start(), page_delete_rec_list_start():
Add assertions.

btr_page_get_split_rec_to_left(): Remove a redundant return value,
and make the output parameter the return value.

btr_page_get_split_rec_to_right(), btr_page_split_and_insert(): Clean up.
2019-10-10 20:29:30 +03:00
..
btr MDEV-20788: Bogus assertion failure for PAGE_FREE list 2019-10-10 20:29:30 +03:00
buf Rename log_make_checkpoint_at() to log_make_checkpoint() 2019-10-09 18:47:14 +03:00
data MDEV-19292 "Row size too large" error when creating table with lots columns when row format is DYNAMIC or COMPRESSED 2019-07-05 17:02:21 +03:00
dict Add page_has_prev(), page_has_next(), page_has_siblings() 2019-10-09 08:29:26 +03:00
eval Merge 10.1 into 10.2 2019-07-25 12:14:27 +03:00
fil MDEV-19335 Remove buf_page_t::encrypted 2019-10-09 13:13:12 +03:00
fsp MDEV-12121: Avoid unused variable 2019-09-06 12:50:53 +03:00
fts Merge 10.1 into 10.2 2019-09-18 16:24:48 +03:00
fut Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
gis Add page_has_prev(), page_has_next(), page_has_siblings() 2019-10-09 08:29:26 +03:00
ha Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
handler Rename log_make_checkpoint_at() to log_make_checkpoint() 2019-10-09 18:47:14 +03:00
ibuf MDEV-19335 Remove buf_page_t::encrypted 2019-10-09 13:13:12 +03:00
include MDEV-20788: Bogus assertion failure for PAGE_FREE list 2019-10-10 20:29:30 +03:00
lock MDEV-20483 trx_lock_t::table_locks is not a subset of trx_lock_t::trx_locks 2019-09-17 19:54:55 +05:30
log Rename log_make_checkpoint_at() to log_make_checkpoint() 2019-10-09 18:47:14 +03:00
mach Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mem Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mtr mtr_t::is_block_dirtied(): Define inline 2019-06-16 15:55:09 +03:00
mysql-test/storage_engine Fix for MDEV-17449, typo in error message (#1146) 2019-03-24 21:24:28 +04:00
os After-merge fix: cmake -DPLUGIN_PERFSCHEMA=NO 2019-07-25 13:34:31 +03:00
page MDEV-20788: Bogus assertion failure for PAGE_FREE list 2019-10-10 20:29:30 +03:00
pars Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
que MDEV-17614: After-merge fix 2019-08-12 18:50:54 +03:00
read MVCC::view_close(): Correct comments 2019-09-04 09:42:38 +03:00
rem Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
row Rename log_make_checkpoint_at() to log_make_checkpoint() 2019-10-09 18:47:14 +03:00
srv Rename log_make_checkpoint_at() to log_make_checkpoint() 2019-10-09 18:47:14 +03:00
sync Reduce rw_lock_debug_mutex contention 2019-09-27 14:22:59 +03:00
trx MDEV-20483 Follow-up fix 2019-09-18 20:20:04 +05:30
ut Merge 10.1 into 10.2 2019-07-25 12:14:27 +03:00
bzip2.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
CMakeLists.txt Merge 10.1 into 10.2 2019-07-25 12:14:27 +03:00
compile-innodb Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
COPYING.Google
COPYING.Percona
innodb.cmake Merge 10.1 into 10.2 2019-03-27 12:26:11 +02:00
lz4.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
lzma.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
lzo.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
plugin_exports
snappy.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00