summaryrefslogtreecommitdiff
path: root/sql/sql_profile.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-06-16 07:51:59 +0400
committerAlexander Barkov <bar@mariadb.com>2019-06-16 19:03:47 +0400
commit4156b1a2602915d6adf983e5c8efaa4f41df3d21 (patch)
tree3e5d25df62e59d5d73025557b87b63973fbf83b3 /sql/sql_profile.h
parent984d7100cdab91fb23d97c05e8b6329a90fe1583 (diff)
downloadmariadb-git-4156b1a2602915d6adf983e5c8efaa4f41df3d21.tar.gz
MDEV-19772 Add helper classes for ST_FIELD_INFO
Diffstat (limited to 'sql/sql_profile.h')
-rw-r--r--sql/sql_profile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_profile.h b/sql/sql_profile.h
index 7ec20f6aaa7..59db4682440 100644
--- a/sql/sql_profile.h
+++ b/sql/sql_profile.h
@@ -22,7 +22,10 @@ class THD;
struct ST_FIELD_INFO;
typedef struct st_schema_table ST_SCHEMA_TABLE;
+namespace Show {
extern ST_FIELD_INFO query_profile_statistics_info[];
+} // namespace Show
+
int fill_query_profile_statistics_info(THD *thd, TABLE_LIST *tables, Item *cond);
int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table);