Skip to content

Commit

Permalink
system-variable: add document for tx_isolation_one_shot (#10566) (#10726
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ti-chi-bot committed Oct 12, 2022
1 parent 63ead7a commit 68e6fbb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -3218,6 +3218,14 @@ For details, see [Identify Slow Queries](/identify-slow-queries.md).

This variable is an alias for `transaction_isolation`.

### tx_isolation_one_shot

> **Note:**
>
> This variable is internally used in TiDB. You are not expected to use it.
Internally, the TiDB parser transforms the `SET TRANSACTION ISOLATION LEVEL [READ COMMITTED| REPEATABLE READ | ...]` statements to `SET @@SESSION.TX_ISOLATION_ONE_SHOT = [READ COMMITTED| REPEATABLE READ | ...]`.

### version

- Scope: NONE
Expand Down

0 comments on commit 68e6fbb

Please sign in to comment.