[Doc] show sql blacklist typo fix (#59525)

Signed-off-by: Rohit Satardekar <rohitrs1983@gmail.com>
(cherry picked from commit cfe3156fcf)
This commit is contained in:
Rohit Satardekar 2025-06-01 23:37:58 +05:30 committed by Mergify
parent 68a8311c7e
commit 26845d896f
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ The admin user who has ADMIN_PRIV privileges can manage blacklists by executing
~~~sql
ADD SQLBLACKLIST "<sql>"
DELETE SQLBLACKLIST <sql_index_number>
SHOW SQLBLACKLISTS
SHOW SQLBLACKLIST
~~~
* When `enable_sql_blacklist` is true, every SQL query needs to be filtered by sqlblacklist. If it matches, the user will be informed that theSQL is in the blacklist. Otherwise, the SQL will be executed normally. The message may be as follows when the SQL is blacklisted:

View File

@ -22,7 +22,7 @@ ADMIN_PRIV権限を持つ管理者ユーザーは、次のコマンドを実行
~~~sql
ADD SQLBLACKLIST "<sql>"
DELETE SQLBLACKLIST <sql_index_number>
SHOW SQLBLACKLISTS
SHOW SQLBLACKLIST
~~~
* `enable_sql_blacklist` がtrueの場合、すべてのSQLクエリはsqlblacklistでフィルタリングされる必要があります。一致する場合、ユーザーはそのSQLがブラックリストにあることを通知されます。そうでない場合、SQLは通常通り実行されます。SQLがブラックリストにある場合、メッセージは次のようになります。
@ -117,4 +117,4 @@ mysql> show sqlblacklist;
| 2 | select id_int \* 4, id_tinyint, id_varchar from test_all_type_nullable except select id_int, id_tinyint, id_varchar from test_basic except select \(id_int \* 9 \- 8\) \/ 2, id_tinyint, id_varchar from test_all_type_nullable2 except select id_int, id_tinyint, id_varchar from test_basic_nullable |
+-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
~~~
~~~