mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-36720 Possible memory leak on updating table with index without overlaps
when closing a lookup_handler, don't forget to close it in PSI too
This commit is contained in:
@@ -7346,6 +7346,7 @@ int handler::ha_reset()
|
||||
{
|
||||
lookup_handler->ha_external_unlock(table->in_use);
|
||||
lookup_handler->close();
|
||||
PSI_CALL_close_table(table_share, lookup_handler->m_psi);
|
||||
delete lookup_handler;
|
||||
lookup_handler= this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user