diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-05-19 15:43:35 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-05-19 15:43:35 +0300 |
commit | 2e9f4cdc44cc560860b2b6c2a34a172df3dc9d49 (patch) | |
tree | 0dc5ae14b592694b5456ab8ca8a9fe0fbbc4b6ec /storage/innobase/ut/ut0ut.cc | |
parent | 06fb78c6acf0cf22ab756e5b89652aa6a5e8485e (diff) | |
download | mariadb-git-2e9f4cdc44cc560860b2b6c2a34a172df3dc9d49.tar.gz |
MDEV-21936 Assertion !btr_search_own... in btr_search_drop_page_hash_index
This is a regression due to the cleanup
commit 12f804acfa45dac5af04dd7da37670c50f4d8a90.
row_sel_open_pcur(): Remove the unnecessary parameter.
It suffices for us to acquire the adaptive hash index latch
only when btr_search_guess_on_hash() is called by
btr_cur_search_to_nth_level_func(), in
btr_pcur_open_with_no_init().
This code seems to be a relic from the times when there was
only one btr_search_latch, which was held in shared mode
for longer periods of time. Another relic of that era was
removed in commit e5980bf1b12f6dc4fa4ab44feb1b6a734dcc84d3.
This clean-up was missed when the btr_search_latch was split in
mysql/mysql-server/commit@ab17ab91ce18a47bb6c5c49e4dc0505ad488a448
(MySQL 5.7.8).
Diffstat (limited to 'storage/innobase/ut/ut0ut.cc')
0 files changed, 0 insertions, 0 deletions