diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-04-19 19:47:31 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-05-05 19:41:12 +0200 |
commit | 67aaf51cf9ef95180702ca9ae6275631bb40e7c7 (patch) | |
tree | 23b2f7e61d9d8b9a7922bc34a4e77875be7700f4 /sql/multi_range_read.cc | |
parent | f29287d28026747472862bdcde0afdc31084a15a (diff) | |
download | mariadb-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.cc | 2 |
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; |