diff options
Diffstat (limited to 'mysql-test/suite/perfschema/r/dml_accounts.result')
-rw-r--r-- | mysql-test/suite/perfschema/r/dml_accounts.result | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/r/dml_accounts.result b/mysql-test/suite/perfschema/r/dml_accounts.result new file mode 100644 index 00000000..dcbce511 --- /dev/null +++ b/mysql-test/suite/perfschema/r/dml_accounts.result @@ -0,0 +1,36 @@ +select * from performance_schema.accounts +limit 1; +select * from performance_schema.accounts +where user='FOO' or host='BAR'; +insert into performance_schema.accounts +set user='FOO', host='BAR', +current_connections=1, total_connections=2; +ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`accounts` +update performance_schema.accounts +set current_connections=12; +ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`accounts` +update performance_schema.accounts +set current_connections=12 where host like "FOO"; +ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`accounts` +delete from performance_schema.accounts +where total_connections=1; +ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`accounts` +delete from performance_schema.accounts; +ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`accounts` +LOCK TABLES performance_schema.accounts READ; +ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`accounts` +UNLOCK TABLES; +LOCK TABLES performance_schema.accounts WRITE; +ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`accounts` +UNLOCK TABLES; +# +# MDEV-25325 column_comment for performance_schema tables +# +select column_name, column_comment +from information_schema.columns +where table_schema='performance_schema' and table_name='accounts'; +column_name column_comment +USER The connection's client user name for the connection, or NULL if an internal thread. +HOST The connection client's host name, or NULL if an internal thread. +CURRENT_CONNECTIONS Current connections for the account. +TOTAL_CONNECTIONS Total connections for the account. |