Safemalloc did not give list of not freed THD memory
This commit is contained in:
parent
5c6fceec76
commit
c03cb73ab9
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user