mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
|
|
#
|
|
# 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,
|
|
# 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
|
|
|
# Tests for PERFORMANCE_SCHEMA
|
|
|
|
--source include/not_embedded.inc
|
|
--source include/have_perfschema.inc
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
alter table performance_schema.events_statements_summary_by_digest
|
|
add column foo integer;
|
|
|
|
truncate table performance_schema.events_statements_summary_by_digest;
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
ALTER TABLE performance_schema.events_statements_summary_by_digest ADD INDEX test_index(DIGEST);
|
|
|
|
-- error ER_DBACCESS_DENIED_ERROR
|
|
CREATE UNIQUE INDEX test_index
|
|
ON performance_schema.events_statements_summary_by_digest(DIGEST);
|
|
|