mariadb/storage
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
..
archive cleanup: Field_blob::get_ptr() 2016-12-12 20:27:33 +01:00
blackhole
cassandra MDEV-6284: Remove CMakeLists.txt hack that mangled the server install file 2016-10-27 18:42:16 +03:00
connect Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
csv
example
federated MDEV-11597 Assertion when doing select from virtual column with impossible value 2017-01-11 09:19:45 +02:00
federatedx MDEV-11597 Assertion when doing select from virtual column with impossible value 2017-01-11 09:19:45 +02:00
heap
innobase MDEV-11831 Make InnoDB mini-transaction memo checks stricter 2017-01-18 14:57:10 +02:00
maria Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
mroonga Fixed issues found by buildbot 2017-01-11 09:18:35 +02:00
myisam MDEV-11606 Server crashes in mi_make_key / sort_key_read 2017-01-11 09:19:45 +02:00
myisammrg cleanup: remove Item::intro_version 2016-12-12 20:27:25 +01:00
oqgraph Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
perfschema Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
sequence test for group by pushdown with a view 2016-05-05 01:05:05 +02:00
sphinx Merge 10.1 into 10.2 2017-01-10 14:39:28 +02:00
spider Mark spider tests big 2016-11-17 17:36:06 +04:00
test_sql_discovery store/show vcols as item->print() 2016-12-12 20:35:41 +01:00
tokudb enable tests that were skipped because of have_xtradb 2016-12-29 13:23:49 +01:00
xtradb Merge 10.1 into 10.2 2017-01-11 14:27:24 +02:00