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:
@ -1,75 +0,0 @@
|
||||
# Copyright (C) 2009 Sun Microsystems, Inc
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; version 2 of the License.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
# Tests for PERFORMANCE_SCHEMA
|
||||
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
|
||||
select * from performance_schema.SETUP_OBJECTS;
|
||||
|
||||
select * from performance_schema.SETUP_OBJECTS
|
||||
where object_type = 'TABLE';
|
||||
|
||||
select * from performance_schema.SETUP_OBJECTS
|
||||
where enabled='YES';
|
||||
|
||||
# Not implemented yet
|
||||
--replace_result '\'setup_objects' '\'SETUP_OBJECTS'
|
||||
--error ER_ILLEGAL_HA
|
||||
insert into performance_schema.SETUP_OBJECTS
|
||||
set object_type='TABLE', object_schema='FOO', object_name='BAR',
|
||||
enabled='YES', timed='YES', aggregated='YES';
|
||||
|
||||
# Not implemented yet
|
||||
# --error ER_ILLEGAL_HA
|
||||
update performance_schema.SETUP_OBJECTS
|
||||
set object_type='TABLE';
|
||||
|
||||
# Not implemented yet
|
||||
# --error ER_ILLEGAL_HA
|
||||
update performance_schema.SETUP_OBJECTS
|
||||
set object_schema='ILLEGAL';
|
||||
|
||||
# Not implemented yet
|
||||
# --error ER_ILLEGAL_HA
|
||||
update performance_schema.SETUP_OBJECTS
|
||||
set object_name='ILLEGAL';
|
||||
|
||||
update performance_schema.SETUP_OBJECTS
|
||||
set enabled='NO';
|
||||
|
||||
update performance_schema.SETUP_OBJECTS
|
||||
set timed='NO';
|
||||
|
||||
update performance_schema.SETUP_OBJECTS
|
||||
set aggregated='NO';
|
||||
|
||||
select * from performance_schema.SETUP_OBJECTS;
|
||||
|
||||
update performance_schema.SETUP_OBJECTS
|
||||
set enabled='YES', timed='YES', aggregated='YES';
|
||||
|
||||
delete from performance_schema.SETUP_OBJECTS
|
||||
where object_type = 'TABLE';
|
||||
|
||||
delete from performance_schema.SETUP_OBJECTS;
|
||||
|
||||
LOCK TABLES performance_schema.SETUP_OBJECTS READ;
|
||||
UNLOCK TABLES;
|
||||
|
||||
LOCK TABLES performance_schema.SETUP_OBJECTS WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
Reference in New Issue
Block a user