diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-02-14 16:42:23 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-03-10 19:24:22 +0100 |
commit | 2ac3121af2767186c489054db5d4871d04b8eef4 (patch) | |
tree | 39de7dcc95c29fbd3d1ce3167262c61404e37743 /storage/perfschema | |
parent | 0ea717f51a152afdb3791195c4a25ee0baa2faac (diff) | |
download | mariadb-git-2ac3121af2767186c489054db5d4871d04b8eef4.tar.gz |
perfschema - various collateral cleanups and small changes
Diffstat (limited to 'storage/perfschema')
-rw-r--r-- | storage/perfschema/pfs.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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)) { |