summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/r/dml_socket_instances.result
blob: d54e956e51b541365531454a3f26bb724179c732 (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
select * from performance_schema.socket_instances limit 1;
select * from performance_schema.socket_instances
where ip='FOO';
insert into performance_schema.socket_instances
set ip='FOO', event_name='BAR', port=12;
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'socket_instances'
update performance_schema.socket_instances
set ip='FOO';
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'socket_instances'
delete from performance_schema.socket_instances
where event_name like "wait/%";
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_instances'
delete from performance_schema.socket_instances;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_instances'
LOCK TABLES performance_schema.socket_instances READ;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_instances'
UNLOCK TABLES;
LOCK TABLES performance_schema.socket_instances WRITE;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_instances'
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='socket_instances';
column_name	column_comment
EVENT_NAME	NAME from the setup_instruments table, and the name of the wait/io/socket/* instrument that produced the event.
OBJECT_INSTANCE_BEGIN	Memory address of the object.
THREAD_ID	Thread identifier that the server assigns to each socket.
SOCKET_ID	The socket's internal file handle.
IP	Client IP address. Blank for Unix socket file, otherwise an IPv4 or IPv6 address. Together with the PORT identifies the connection.
PORT	TCP/IP port number, from 0 to 65535. Together with the IP identifies the connection.
STATE	Socket status, either IDLE if waiting to receive a request from a client, or ACTIVE