1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

cleanup: ha_external_unlock() helper

as mentioned in f9f33b85be and generally to make it
easier to talk about
This commit is contained in:
Sergei Golubchik
2020-04-19 19:47:31 +02:00
parent f29287d280
commit 67aaf51cf9
9 changed files with 13 additions and 12 deletions

View File

@ -6556,7 +6556,7 @@ int handler::ha_reset()
clear_top_table_fields();
if (lookup_handler != this)
{
lookup_handler->ha_external_lock(table->in_use, F_UNLCK);
lookup_handler->ha_external_unlock(table->in_use);
lookup_handler->close();
delete lookup_handler;
lookup_handler= this;