mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#57609 performance_schema does not work with lower_case_table_names
Before this fix, the performance schema tables were defined in UPPERCASE. This was incompatible with the lowercase_table_names option, and caused issues with the install / upgrade process, when changing the lower case table names setting *after* the install or upgrade. With this fix, all performance schema tables are exposed with lowercase names. As a result, the name of the performance schema table is always lowercase, no matter how / if / when the lowercase_table_names setting if changed.
This commit is contained in:
@ -55,7 +55,7 @@ table_mutex_instances::m_field_def=
|
||||
PFS_engine_table_share
|
||||
table_mutex_instances::m_share=
|
||||
{
|
||||
{ C_STRING_WITH_LEN("MUTEX_INSTANCES") },
|
||||
{ C_STRING_WITH_LEN("mutex_instances") },
|
||||
&pfs_readonly_acl,
|
||||
&table_mutex_instances::create,
|
||||
NULL, /* write_row */
|
||||
@ -223,7 +223,7 @@ table_rwlock_instances::m_field_def=
|
||||
PFS_engine_table_share
|
||||
table_rwlock_instances::m_share=
|
||||
{
|
||||
{ C_STRING_WITH_LEN("RWLOCK_INSTANCES") },
|
||||
{ C_STRING_WITH_LEN("rwlock_instances") },
|
||||
&pfs_readonly_acl,
|
||||
&table_rwlock_instances::create,
|
||||
NULL, /* write_row */
|
||||
@ -388,7 +388,7 @@ table_cond_instances::m_field_def=
|
||||
PFS_engine_table_share
|
||||
table_cond_instances::m_share=
|
||||
{
|
||||
{ C_STRING_WITH_LEN("COND_INSTANCES") },
|
||||
{ C_STRING_WITH_LEN("cond_instances") },
|
||||
&pfs_readonly_acl,
|
||||
&table_cond_instances::create,
|
||||
NULL, /* write_row */
|
||||
|
Reference in New Issue
Block a user