Skip to content

Commit

Permalink
fix incorrect message for set_var() (#19119) (#19163)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Nov 25, 2024
1 parent cc61363 commit 3a553e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4310,7 +4310,7 @@ EXPLAIN FORMAT='brief' SELECT COUNT(1) FROM t WHERE a = 1 AND b IS NOT NULL;
### `tidb_read_consistency` <span class="version-mark">从 v5.4.0 版本开始引入</span>

- 作用域:SESSION
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:是
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:是(注意当存在[非事务 DML 语句](/non-transactional-dml.md)时,使用 hint 修改该变量的值可能不生效)
- 类型:字符串
- 默认值:`strict`
- 此变量用于控制自动提交的读语句的读一致性。
Expand All @@ -4320,7 +4320,7 @@ EXPLAIN FORMAT='brief' SELECT COUNT(1) FROM t WHERE a = 1 AND b IS NOT NULL;
### `tidb_read_staleness` <span class="version-mark">从 v5.4.0 版本开始引入</span>

- 作用域:SESSION
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:
- 类型:整数型
- 默认值:`0`
- 范围 `[-2147483648, 0]`
Expand Down

0 comments on commit 3a553e2

Please sign in to comment.