summaryrefslogtreecommitdiff
path: root/sql/sql_get_diagnostics.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-06-19 22:57:46 +0300
committerMichael Widenius <monty@askmonty.org>2013-06-19 22:57:46 +0300
commitf62f4bd563a96ddd78b78d563e4d4cf5ad27aae1 (patch)
tree17d34be40ccafdbb0ffee956c87aa86bf3aef3fc /sql/sql_get_diagnostics.cc
parentdfcc502ab540b4d93fe3d40d0bac15fa3ae449dd (diff)
downloadmariadb-git-f62f4bd563a96ddd78b78d563e4d4cf5ad27aae1.tar.gz
Fixed some memory leaks
Disabled some asserts that we can't yet have enabled
Diffstat (limited to 'sql/sql_get_diagnostics.cc')
-rw-r--r--sql/sql_get_diagnostics.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_get_diagnostics.cc b/sql/sql_get_diagnostics.cc
index 24850e44d59..be1e3589cc6 100644
--- a/sql/sql_get_diagnostics.cc
+++ b/sql/sql_get_diagnostics.cc
@@ -43,7 +43,7 @@ bool
Sql_cmd_get_diagnostics::execute(THD *thd)
{
bool rv;
- Diagnostics_area new_stmt_da(thd->query_id, false);
+ Diagnostics_area new_stmt_da(thd->query_id, false, true);
Diagnostics_area *save_stmt_da= thd->get_stmt_da();
DBUG_ENTER("Sql_cmd_get_diagnostics::execute");