summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2020-01-17 00:24:17 +0300
committerSergei Petrunia <psergey@askmonty.org>2020-01-17 00:24:17 +0300
commitb04429434ad1ee7f49d263762a560f4ff31dd111 (patch)
treeb4018c1ddc398c4baa5d98edafd41eaee7dd88e3 /sql/sql_show.cc
parentbb8226deabd177d70151d5e0729bf08533954ffd (diff)
parentbde7e0ba6e94d576c4563022f38e8d81b1f6d54a (diff)
downloadmariadb-git-b04429434ad1ee7f49d263762a560f4ff31dd111.tar.gz
Merge branch '10.1' into 10.2
# Conflicts: # sql/sp_head.cc # sql/sql_select.cc # sql/sql_trigger.cc
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index fcf97fc8fee..78ca1d09e7a 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -5994,7 +5994,7 @@ bool store_schema_params(THD *thd, TABLE *table, TABLE *proc_table,
{
free_table_share(&share);
if (free_sp_head)
- delete sp;
+ sp_head::destroy(sp);
DBUG_RETURN(1);
}
}
@@ -6045,7 +6045,7 @@ bool store_schema_params(THD *thd, TABLE *table, TABLE *proc_table,
}
}
if (free_sp_head)
- delete sp;
+ sp_head::destroy(sp);
}
free_table_share(&share);
DBUG_RETURN(error);
@@ -6131,7 +6131,7 @@ bool store_schema_proc(THD *thd, TABLE *table, TABLE *proc_table,
store_column_type(table, field, cs, 5);
free_table_share(&share);
if (free_sp_head)
- delete sp;
+ sp_head::destroy(sp);
}
}