mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-28548: ER_TABLEACCESS_DENIED_ERROR is missing information about DB
- Added missing information about database of corresponding table for various types of commands - Update some typos - Reviewed by: <vicentiu@mariadb.org>
This commit is contained in:
@ -5,23 +5,23 @@ 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 'accounts'
|
||||
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 'accounts'
|
||||
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 'accounts'
|
||||
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 'accounts'
|
||||
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 '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 'accounts'
|
||||
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 'accounts'
|
||||
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
|
||||
|
Reference in New Issue
Block a user