summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/r/dml_host_cache.result
blob: a0ed1a3f3b1fc0ec4f5f09b204796519849b4b66 (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
select * from performance_schema.host_cache
where IP like '%' limit 1;
select * from performance_schema.host_cache
where IP='localhost';
insert into performance_schema.host_cache
set IP='FOO', SUM_BLOCKING_ERRORS=1, COUNT_FCRDNS_ERRORS=2;
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'host_cache'
update performance_schema.host_cache
set COUNT_UNKNOWN_ERRORS=12;
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'host_cache'
update performance_schema.host_cache
set SUM_BLOCKING_ERRORS=12 where IP='127.0.0.1';
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'host_cache'
select HOST from performance_schema.host_cache
where IP='::1';
HOST
delete from performance_schema.host_cache
where IP='::1';
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'host_cache'
delete from performance_schema.host_cache;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'host_cache'
LOCK TABLES performance_schema.host_cache READ;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'host_cache'
UNLOCK TABLES;
LOCK TABLES performance_schema.host_cache WRITE;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'host_cache'
UNLOCK TABLES;