1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

More DBUG_ENTER, to make it easier to find out where free_root(thd->mem_root) is called

This commit is contained in:
Michael Widenius
2012-08-22 18:03:31 +03:00
parent 0af0e7a70a
commit 653492fb23
2 changed files with 15 additions and 9 deletions

View File

@ -1844,6 +1844,7 @@ public:
MEM_ROOT mem_root; // Transaction-life memory allocation pool
void cleanup()
{
DBUG_ENTER("thd::cleanup");
changed_tables= 0;
savepoints= 0;
/*
@ -1855,6 +1856,7 @@ public:
if (!xid_state.rm_error)
xid_state.xid.null();
free_root(&mem_root,MYF(MY_KEEP_PREALLOC));
DBUG_VOID_RETURN;
}
my_bool is_active()
{