mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +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:
@@ -30,14 +30,14 @@ connect (con1, localhost, root, , );
|
||||
|
||||
let $con1_ID=`select connection_id()`;
|
||||
|
||||
let $con1_THREAD_ID=`select thread_id from performance_schema.THREADS
|
||||
let $con1_THREAD_ID=`select thread_id from performance_schema.threads
|
||||
where PROCESSLIST_ID = connection_id()`;
|
||||
|
||||
connect (con2, localhost, root, , );
|
||||
|
||||
let $con2_ID=`select connection_id()`;
|
||||
|
||||
let $con2_THREAD_ID=`select thread_id from performance_schema.THREADS
|
||||
let $con2_THREAD_ID=`select thread_id from performance_schema.threads
|
||||
where PROCESSLIST_ID = connection_id()`;
|
||||
|
||||
connection default;
|
||||
@@ -58,7 +58,7 @@ connect (con3, localhost, root, , );
|
||||
|
||||
let $con3_ID=`select connection_id()`;
|
||||
|
||||
let $con3_THREAD_ID=`select thread_id from performance_schema.THREADS
|
||||
let $con3_THREAD_ID=`select thread_id from performance_schema.threads
|
||||
where PROCESSLIST_ID = connection_id()`;
|
||||
|
||||
disconnect con3;
|
||||
@@ -82,14 +82,14 @@ connect (con1, localhost, root, , );
|
||||
|
||||
let $con1_ID=`select connection_id()`;
|
||||
|
||||
let $con1_THREAD_ID=`select thread_id from performance_schema.THREADS
|
||||
let $con1_THREAD_ID=`select thread_id from performance_schema.threads
|
||||
where PROCESSLIST_ID = connection_id()`;
|
||||
|
||||
connect (con2, localhost, root, , );
|
||||
|
||||
let $con2_ID=`select connection_id()`;
|
||||
|
||||
let $con2_THREAD_ID=`select thread_id from performance_schema.THREADS
|
||||
let $con2_THREAD_ID=`select thread_id from performance_schema.threads
|
||||
where PROCESSLIST_ID = connection_id()`;
|
||||
|
||||
connection default;
|
||||
@@ -108,7 +108,7 @@ connect (con3, localhost, root, , );
|
||||
|
||||
let $con3_ID=`select connection_id()`;
|
||||
|
||||
let $con3_THREAD_ID=`select thread_id from performance_schema.THREADS
|
||||
let $con3_THREAD_ID=`select thread_id from performance_schema.threads
|
||||
where PROCESSLIST_ID = connection_id()`;
|
||||
|
||||
disconnect con3;
|
||||
|
||||
Reference in New Issue
Block a user