summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2007-10-04 10:35:09 -0400
committercmiller@zippy.cornsilk.net <>2007-10-04 10:35:09 -0400
commit71d5c5350aadc7312a917e2c0b87a8d271432f40 (patch)
tree458667b7d631c0749fbf84a48205659d5e8a3b90 /sql
parentcf74e43f1583a81016f0ce6cbbe087b38853b5cd (diff)
downloadmariadb-git-71d5c5350aadc7312a917e2c0b87a8d271432f40.tar.gz
Track typedef'd struct. Name changed in Enterprise tree, but
community-exclusive file also referred to struct.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_profile.cc4
-rw-r--r--sql/sql_profile.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_profile.cc b/sql/sql_profile.cc
index d4e3568f592..30bedcfc813 100644
--- a/sql/sql_profile.cc
+++ b/sql/sql_profile.cc
@@ -28,7 +28,7 @@ const char * const _unknown_func_ = "<unknown>";
/**
Connects Information_Schema and Profiling.
*/
-int fill_query_profile_statistics_info(THD *thd, struct st_table_list *tables,
+int fill_query_profile_statistics_info(THD *thd, TABLE_LIST *tables,
Item *cond)
{
#ifdef ENABLED_PROFILING
@@ -480,7 +480,7 @@ void PROFILING::set_query_source(char *query_source_arg, uint query_length_arg)
There are two ways to get to this function: Selecting from the information
schema, and a SHOW command.
*/
-int PROFILING::fill_statistics_info(THD *thd, struct st_table_list *tables, Item *cond)
+int PROFILING::fill_statistics_info(THD *thd, TABLE_LIST *tables, Item *cond)
{
DBUG_ENTER("PROFILING::fill_statistics_info");
TABLE *table= tables->table;
diff --git a/sql/sql_profile.h b/sql/sql_profile.h
index 56022de0dcc..5a28bc32442 100644
--- a/sql/sql_profile.h
+++ b/sql/sql_profile.h
@@ -38,7 +38,7 @@ extern const char * const _unknown_func_;
#endif
extern ST_FIELD_INFO query_profile_statistics_info[];
-int fill_query_profile_statistics_info(THD *thd, struct st_table_list *tables, Item *cond);
+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);
@@ -334,7 +334,7 @@ public:
bool show_profiles();
/* ... from INFORMATION_SCHEMA.PROFILING ... */
- int fill_statistics_info(THD *thd, struct st_table_list *tables, Item *cond);
+ int fill_statistics_info(THD *thd, TABLE_LIST *tables, Item *cond);
};
# endif /* HAVE_PROFILING */