mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#55416 Renaming of performance_schema tables for 5.5
Removed table SETUP_OBJECTS. Renamed table PROCESSLIST to THREADS. Renamed table EVENTS_WAITS_SUMMARY_BY_EVENT_NAME to EVENTS_WAITS_SUMMARY_GLOBAL_BY_EVENT_NAME. Adjusted Makefiles, code and tests accordingly.
This commit is contained in:
@ -25,17 +25,17 @@ update performance_schema.SETUP_CONSUMERS set enabled='YES';
|
||||
|
||||
connect (con1, localhost, root, , );
|
||||
|
||||
let $con1_THREAD_ID=`select thread_id from performance_schema.PROCESSLIST
|
||||
let $con1_THREAD_ID=`select thread_id from performance_schema.THREADS
|
||||
where ID in (select connection_id())`;
|
||||
|
||||
connect (con2, localhost, root, , );
|
||||
|
||||
let $con2_THREAD_ID=`select thread_id from performance_schema.PROCESSLIST
|
||||
let $con2_THREAD_ID=`select thread_id from performance_schema.THREADS
|
||||
where ID in (select connection_id())`;
|
||||
|
||||
connect (con3, localhost, root, , );
|
||||
|
||||
let $con3_THREAD_ID=`select thread_id from performance_schema.PROCESSLIST
|
||||
let $con3_THREAD_ID=`select thread_id from performance_schema.THREADS
|
||||
where ID in (select connection_id())`;
|
||||
|
||||
connection default;
|
||||
@ -49,6 +49,6 @@ prepare stmt_dump_events from
|
||||
where thread_id=? order by event_id;";
|
||||
|
||||
prepare stmt_dump_thread from
|
||||
"select name from performance_schema.PROCESSLIST where thread_id=? ;";
|
||||
"select name from performance_schema.THREADS where thread_id=? ;";
|
||||
--enable_query_log
|
||||
|
||||
|
Reference in New Issue
Block a user