diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-06-10 07:43:58 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-06-10 07:50:09 +0300 |
commit | 17a7bafec068d6436f3f6c5ca67b9d6c98b31ef5 (patch) | |
tree | 58a8377773c7538294f1e368c659329be3e0ac1b /.gitignore | |
parent | d6f8c4842468c80d749befa30a0e3c188323c348 (diff) | |
download | mariadb-git-17a7bafec068d6436f3f6c5ca67b9d6c98b31ef5.tar.gz |
MDEV-22110 preparation: Remove mtr_memo_contains macros
Let us invoke the debug member functions of mtr_t directly.
mtr_t::memo_contains(): Change the parameter type to
const rw_lock_t&. This function cannot be invoked on
buf_block_t::lock.
The function mtr_t::memo_contains_flagged() is intended to be invoked
on buf_block_t* or rw_lock_t*, and it along with
mtr_t::memo_contains_page_flagged() are the way to check whether
a buffer pool page has been latched within a mini-transaction.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions