summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/perfschema/r/ddl_users.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/perfschema/r/ddl_users.result')
-rw-r--r--mysql-test/suite/perfschema/r/ddl_users.result8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/r/ddl_users.result b/mysql-test/suite/perfschema/r/ddl_users.result
new file mode 100644
index 00000000..907710bb
--- /dev/null
+++ b/mysql-test/suite/perfschema/r/ddl_users.result
@@ -0,0 +1,8 @@
+alter table performance_schema.users
+add column foo integer;
+ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
+truncate table performance_schema.users;
+ALTER TABLE performance_schema.users ADD INDEX test_index(CURRENT_CONNECTIONS);
+ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
+CREATE UNIQUE INDEX test_index ON performance_schema.users(CURRENT_CONNECTIONS);
+ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'