Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit a3f3dba

Browse files
Adding README for the ps_is_instrument_default_enabled() function.
1 parent 14eede2 commit a3f3dba

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,6 +1424,31 @@ mysql> SELECT sys.ps_is_account_enabled('localhost', 'root');
14241424
1 row in set (0.01 sec)
14251425
```
14261426

1427+
#### ps_is_instrument_default_enabled
1428+
1429+
##### Description
1430+
1431+
Returns whether an instrument is enabled by default in this version of MySQL.
1432+
1433+
##### Parameters
1434+
1435+
* in_instrument VARCHAR(128): The instrument to check.
1436+
1437+
##### Returns
1438+
1439+
ENUM('YES', 'NO')
1440+
1441+
##### Example
1442+
```SQL
1443+
mysql> SELECT sys.ps_is_instrument_default_enabled('statement/sql/select');
1444+
+--------------------------------------------------------------+
1445+
| sys.ps_is_instrument_default_enabled('statement/sql/select') |
1446+
+--------------------------------------------------------------+
1447+
| YES |
1448+
+--------------------------------------------------------------+
1449+
1 row in set (0.00 sec)
1450+
```
1451+
14271452
#### ps_thread_stack
14281453

14291454
##### Description

0 commit comments

Comments
 (0)