Skip to content

Commit

Permalink
fix incorrect message for set_var() (#19451)
Browse files Browse the repository at this point in the history
  • Loading branch information
songrijie authored Nov 25, 2024
1 parent 00f4320 commit a878d97
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 @@ -5041,7 +5041,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 @@ -5051,7 +5051,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 a878d97

Please sign in to comment.