Skip to content

Commit e2fd798

Browse files
authored
Update the scope of system-variable ”tidb_redact_log“ (#21513) (#21635)
1 parent c2970f5 commit e2fd798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ SET tidb_query_log_max_len = 20
18561856
18571857
</CustomContent>
18581858
1859-
- Scope: SESSION | GLOBAL
1859+
- Scope: GLOBAL
18601860
- Default value: `OFF`
18611861
- This variable controls whether to hide user information in the SQL statement being recorded into the TiDB log and slow log.
18621862
- When you set the variable to `1`, user information is hidden. For example, if the executed SQL statement is `insert into t values (1,2)`, the statement is recorded as `insert into t values (?,?)` in the log.

0 commit comments

Comments
 (0)