Skip to content

Commit

Permalink
fix incorrect message for set_var() (#19451) (#19497)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Nov 25, 2024
1 parent ee0f62d commit bf533ab
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 @@ -4621,7 +4621,7 @@ SHOW WARNINGS;
### tidb_read_consistency <span class="version-mark">New in v5.4.0</span>

- Scope: SESSION
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): Yes
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): Yes (Note that if [non-transactional DML statements](/non-transactional-dml.md) exist, modifying the value of this variable using hint might not take effect.)
- Type: String
- Default value: `strict`
- This variable is used to control the read consistency for an auto-commit read statement.
Expand All @@ -4631,7 +4631,7 @@ SHOW WARNINGS;
### tidb_read_staleness <span class="version-mark">New in v5.4.0</span>

- Scope: SESSION
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): Yes
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
- Type: Integer
- Default value: `0`
- Range: `[-2147483648, 0]`
Expand Down

0 comments on commit bf533ab

Please sign in to comment.