mariadb/storage/innobase
Marko Mäkelä 8780b89529 MDEV-11831 Make InnoDB mini-transaction memo checks stricter
InnoDB keeps track of buffer-fixed buf_block_t or acquired rw_lock_t
within a mini-transaction. There are some memo_contains assertions
in the code that document when certain blocks or rw_locks must be held.
But, these assertions only check the mini-transaction memo, not the fact
whether the rw_lock_t are actually being held by the caller.

btr_pcur_store_position(): Remove #ifdef, and assert that the block
is always buffer-fixed.

rtr_pcur_getnext_from_path(), rtr_pcur_open_low(),
ibuf_rec_get_page_no_func(), ibuf_rec_get_space_func(),
ibuf_rec_get_info_func(), ibuf_rec_get_op_type_func(),
ibuf_build_entry_from_ibuf_rec_func(), ibuf_rec_get_volume_func(),
ibuf_get_merge_page_nos_func(), ibuf_get_volume_buffered_count_func()
ibuf_get_entry_counter_low_func(), page_set_ssn_id(),
row_vers_old_has_index_entry(), row_vers_build_for_consistent_read(),
row_vers_build_for_semi_consistent_read(),
trx_undo_prev_version_build():
Make use of mtr_memo_contains_page_flagged().

mtr_t::memo_contains(): Take a const memo. Assert rw_lock_own().

FindPage, FlaggedCheck: Assert rw_lock_own_flagged().
2017-01-18 14:57:10 +02:00
..
api Merge 10.1 into 10.2 2016-12-30 08:56:13 +02:00
btr MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
buf Remove MYSQL_COMPRESSION. 2017-01-18 08:30:42 +02:00
data MDEV-11690 Remove UNIV_HOTBACKUP 2016-12-30 16:05:42 +02:00
dict MDEV-11816 Disallow CREATE TEMPORARY TABLE…ROW_FORMAT=COMPRESSED 2017-01-18 08:42:57 +02:00
eval Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
fil MDEV-11816 Disallow CREATE TEMPORARY TABLE…ROW_FORMAT=COMPRESSED 2017-01-18 08:42:57 +02:00
fsp MDEV-11816 Disallow CREATE TEMPORARY TABLE…ROW_FORMAT=COMPRESSED 2017-01-18 08:42:57 +02:00
fts Remove MYSQL_TABLESPACES. 2017-01-18 08:30:43 +02:00
fut Merge 10.1 to 10.2 2017-01-05 10:48:03 +02:00
gis MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
ha MDEV-11690 Remove UNIV_HOTBACKUP 2016-12-30 16:05:42 +02:00
handler MDEV-11824 Allow ROW_FORMAT=DYNAMIC in the InnoDB system tablespace 2017-01-18 08:43:11 +02:00
ibuf MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
include MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
lock Follow-up to MDEV-11713: Make more use of DBUG_LOG 2017-01-12 13:47:18 +02:00
log MDEV-11816 Disallow CREATE TEMPORARY TABLE…ROW_FORMAT=COMPRESSED 2017-01-18 08:42:57 +02:00
mach Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
mem MDEV-11690 Remove UNIV_HOTBACKUP 2016-12-30 16:05:42 +02:00
mtr MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
mysql-test/storage_engine Remove references to innodb_file_format. 2017-01-18 08:43:11 +02:00
os Remove MYSQL_COMPRESSION. 2017-01-18 08:30:42 +02:00
page MDEV-11816 Disallow CREATE TEMPORARY TABLE…ROW_FORMAT=COMPRESSED 2017-01-18 08:42:57 +02:00
pars Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
que Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
read Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
rem MDEV-11690 Remove UNIV_HOTBACKUP 2016-12-30 16:05:42 +02:00
row MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
srv MDEV-11816 Disallow CREATE TEMPORARY TABLE…ROW_FORMAT=COMPRESSED 2017-01-18 08:42:57 +02:00
sync Remove MYSQL_ENCRYPTION. 2017-01-18 08:30:42 +02:00
trx MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
usr Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
ut Remove MYSQL_TABLESPACES. 2017-01-18 08:30:43 +02:00
CMakeLists.txt MDEV-11195: Simplify enablement of NUMA in innodb/xtradb 2016-11-02 14:37:43 +11:00
compile-innodb move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Google move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Percona move to storage/innobase 2015-05-04 19:17:21 +02:00
innodb.cmake Remove MYSQL_COMPRESSION. 2017-01-18 08:30:42 +02:00
plugin_exports Solaris compilation failure: xtradb is linked in statically, ha_innodb.so needs 2014-05-01 14:05:52 +02:00