summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/r/dml_session_connect_attrs.result
blob: c56af4a448d443ed58ea5e8eea82cf4fce4a6de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
SELECT * FROM performance_schema.session_connect_attrs
LIMIT 1;
SELECT * FROM performance_schema.session_connect_attrs
where ATTR_NAME='FOO' OR ATTR_VALUE='BAR';
INSERT INTO performance_schema.session_connect_attrs
SET ATTR_NAME='FOO', ATTR_VALUE='BAR',
ORDINAL_POSITION=100, PROCESS_ID=102;
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'session_connect_attrs'
UPDATE performance_schema.session_connect_attrs
SET ATTR_NAME='FOO';
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'session_connect_attrs'
UPDATE performance_schema.session_connect_attrs
SET ATTR_NAME='FOO' WHERE ATTR_VALUE='BAR';
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'session_connect_attrs'
DELETE FROM performance_schema.session_connect_attrs
WHERE ATTR_VALUE='BAR';
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'session_connect_attrs'
DELETE FROM performance_schema.session_connect_attrs;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'session_connect_attrs'
LOCK TABLES performance_schema.session_connect_attrs READ;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'session_connect_attrs'
UNLOCK TABLES;
LOCK TABLES performance_schema.session_connect_attrs WRITE;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'session_connect_attrs'
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='session_connect_attrs';
column_name	column_comment
PROCESSLIST_ID	Session connection identifier.
ATTR_NAME	Attribute name.
ATTR_VALUE	Attribute value.
ORDINAL_POSITION	Order in which attribute was added to the connection attributes.