1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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:
Marc Alff
2010-11-03 16:42:33 +01:00
parent 0329adaef9
commit 7f35b15ada
147 changed files with 2132 additions and 2279 deletions

View File

@ -33,10 +33,10 @@ Qcache_inserts 1
show status like "Qcache_hits";
Variable_name Value
Qcache_hits 1
select spins from performance_schema.EVENTS_WAITS_CURRENT order by event_name limit 1;
select spins from performance_schema.events_waits_current order by event_name limit 1;
spins
NULL
select name from performance_schema.SETUP_INSTRUMENTS order by name limit 1;
select name from performance_schema.setup_instruments order by name limit 1;
name
wait/io/file/csv/data
show status like "Qcache_queries_in_cache";
@ -48,10 +48,10 @@ Qcache_inserts 1
show status like "Qcache_hits";
Variable_name Value
Qcache_hits 1
select spins from performance_schema.EVENTS_WAITS_CURRENT order by event_name limit 1;
select spins from performance_schema.events_waits_current order by event_name limit 1;
spins
NULL
select name from performance_schema.SETUP_INSTRUMENTS order by name limit 1;
select name from performance_schema.setup_instruments order by name limit 1;
name
wait/io/file/csv/data
show status like "Qcache_queries_in_cache";