Skip to content

Commit

Permalink
fix incorrect message for set_var() (#19451) (#19499)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Nov 25, 2024
1 parent 00ef313 commit 7ab8591
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 @@ -5039,7 +5039,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 @@ -5049,7 +5049,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 7ab8591

Please sign in to comment.