mirror of
https://github.com/MariaDB/server.git
synced 2025-02-10 07:34:11 +01:00
![Anel Husakovic](/assets/img/avatar_default.png)
- Added missing information about database of corresponding table for various types of commands - Update some typos - Reviewed by: <vicentiu@mariadb.org>
36 lines
2 KiB
Text
36 lines
2 KiB
Text
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 `performance_schema`.`session_connect_attrs`
|
|
UPDATE performance_schema.session_connect_attrs
|
|
SET ATTR_NAME='FOO';
|
|
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`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 `performance_schema`.`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 `performance_schema`.`session_connect_attrs`
|
|
DELETE FROM performance_schema.session_connect_attrs;
|
|
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`session_connect_attrs`
|
|
LOCK TABLES performance_schema.session_connect_attrs READ;
|
|
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`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 `performance_schema`.`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.
|