mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
adding DBUG_ENTER/DBUG_RETURN tags that were useful when fixing memory leaks
This commit is contained in:
parent
49501b4ccb
commit
e44fefc7b3
20 changed files with 326 additions and 164 deletions
|
|
@ -34,6 +34,7 @@
|
|||
table_mapping::table_mapping()
|
||||
: m_free(0)
|
||||
{
|
||||
DBUG_ENTER("table_mapping::table_mapping");
|
||||
/*
|
||||
No "free_element" function for entries passed here, as the entries are
|
||||
allocated in a MEM_ROOT (freed as a whole in the destructor), they cannot
|
||||
|
|
@ -46,6 +47,7 @@ table_mapping::table_mapping()
|
|||
0,0,0);
|
||||
/* We don't preallocate any block, this is consistent with m_free=0 above */
|
||||
init_alloc_root(&m_mem_root, TABLE_ID_HASH_SIZE*sizeof(entry), 0);
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
table_mapping::~table_mapping()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue