Skip to content

Commit 752b0d5

Browse files
Frank945946ti-chi-bot
authored andcommitted
This is an automated cherry-pick of pingcap#21513
Signed-off-by: ti-chi-bot <[email protected]>
1 parent c2970f5 commit 752b0d5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

system-variables.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,9 +1854,16 @@ SET tidb_query_log_max_len = 20
18541854
>
18551855
> This TiDB variable is not applicable to TiDB Cloud.
18561856
1857+
<<<<<<< HEAD
18571858
</CustomContent>
18581859
18591860
- Scope: SESSION | GLOBAL
1861+
=======
1862+
- Scope: GLOBAL
1863+
- Persists to cluster: Yes
1864+
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
1865+
- Type: Enumeration
1866+
>>>>>>> ad5a4464e1 (Update the scope of system-variable ”tidb_redact_log“ (#21513))
18601867
- Default value: `OFF`
18611868
- This variable controls whether to hide user information in the SQL statement being recorded into the TiDB log and slow log.
18621869
- 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)