diff options
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/include/ut0stage.h | 2 | ||||
-rw-r--r-- | storage/perfschema/pfs.cc | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/include/ut0stage.h b/storage/innobase/include/ut0stage.h index 23ff32a60f9..71ace53cea0 100644 --- a/storage/innobase/include/ut0stage.h +++ b/storage/innobase/include/ut0stage.h @@ -41,8 +41,6 @@ Created Nov 12, 2014 Vasil Dimov #ifdef HAVE_PSI_STAGE_INTERFACE -typedef void PSI_stage_progress; - /** Class used to report ALTER TABLE progress via performance_schema. The only user of this class is the ALTER TABLE code and it calls the methods in the following order diff --git a/storage/perfschema/pfs.cc b/storage/perfschema/pfs.cc index 23b9feab6ed..cc922d69d2c 100644 --- a/storage/perfschema/pfs.cc +++ b/storage/perfschema/pfs.cc @@ -1740,6 +1740,7 @@ void pfs_register_stage_v1(const char *category, DBUG_ASSERT(info != NULL); DBUG_ASSERT(info->m_name != NULL); len= (int)strlen(info->m_name); + DBUG_ASSERT(len <= 64); // see table_threads.cc near PROCESSLIST_STATE full_length= prefix_length + len; if (likely(full_length <= PFS_MAX_INFO_NAME_LENGTH)) { |