mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Track typedef'd struct. Name changed in Enterprise tree, but
community-exclusive file also referred to struct. sql/sql_profile.cc: Track typedef'd struct. sql/sql_profile.h: Track typedef'd struct.
This commit is contained in:
parent
b86904731f
commit
5008a4e720
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue