From e44fefc7b395279b9682321f952490ab9d1d01f0 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 10 Jul 2011 20:21:18 +0200 Subject: adding DBUG_ENTER/DBUG_RETURN tags that were useful when fixing memory leaks --- sql/rpl_tblmap.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/rpl_tblmap.cc') diff --git a/sql/rpl_tblmap.cc b/sql/rpl_tblmap.cc index 5a178ffde83..79c8dbf7ec5 100644 --- a/sql/rpl_tblmap.cc +++ b/sql/rpl_tblmap.cc @@ -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() -- cgit v1.2.1