summaryrefslogtreecommitdiff
path: root/sql/multi_range_read.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-04-19 19:47:31 +0200
committerSergei Golubchik <serg@mariadb.org>2020-05-05 19:41:12 +0200
commit67aaf51cf9ef95180702ca9ae6275631bb40e7c7 (patch)
tree23b2f7e61d9d8b9a7922bc34a4e77875be7700f4 /sql/multi_range_read.cc
parentf29287d28026747472862bdcde0afdc31084a15a (diff)
downloadmariadb-git-67aaf51cf9ef95180702ca9ae6275631bb40e7c7.tar.gz
cleanup: ha_external_unlock() helper
as mentioned in f9f33b85be6 and generally to make it easier to talk about
Diffstat (limited to 'sql/multi_range_read.cc')
-rw-r--r--sql/multi_range_read.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/multi_range_read.cc b/sql/multi_range_read.cc
index 3a708895d78..ec039962be9 100644
--- a/sql/multi_range_read.cc
+++ b/sql/multi_range_read.cc
@@ -1380,7 +1380,7 @@ void DsMrr_impl::close_second_handler()
{
secondary_file->extra(HA_EXTRA_NO_KEYREAD);
secondary_file->ha_index_or_rnd_end();
- secondary_file->ha_external_lock(current_thd, F_UNLCK);
+ secondary_file->ha_external_unlock(current_thd);
secondary_file->ha_close();
delete secondary_file;
secondary_file= NULL;