mirror of
https://github.com/MariaDB/server.git
synced 2025-07-18 23:03:28 +03:00
Safemalloc did not give list of not freed THD memory
This commit is contained in:
@ -1730,7 +1730,7 @@ THD::~THD()
|
||||
if (status_var.local_memory_used != 0)
|
||||
{
|
||||
DBUG_PRINT("error", ("memory_used: %lld", status_var.local_memory_used));
|
||||
SAFEMALLOC_REPORT_MEMORY(thread_id);
|
||||
SAFEMALLOC_REPORT_MEMORY(sf_malloc_dbug_id());
|
||||
DBUG_ASSERT(status_var.local_memory_used == 0 ||
|
||||
!debug_assert_on_not_freed_memory);
|
||||
}
|
||||
|
Reference in New Issue
Block a user