Skip to content

Commit

Permalink
docs:Add tidb_opt_force_inline_cte system vars usage description in d…
Browse files Browse the repository at this point in the history
…ocs. (#10343)
  • Loading branch information
elsa0520 committed Sep 19, 2022
1 parent a4e8452 commit 76e8001
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 @@ -2474,6 +2474,14 @@ explain select * from t where age=5;
- Default value: `OFF`
- This variable is used to control whether to allow `INSERT`, `REPLACE`, and `UPDATE` statements to operate on the `_tidb_rowid` column. This variable can be used only when you import data using TiDB tools.

### tidb_opt_force_inline_cte <span class="version-mark">New in v6.3.0</span>

- Scope: SESSION | GLOBAL
- Persists to cluster: Yes
- Type: Boolean
- Default value: `OFF`
- This variable is used to control whether common table expressions (CTEs) in the entire session are inlined or not. The default value is `OFF`, which means that inlining CTE is not enforced by default. However, you can still inline CTE by specifying the `MERGE()` hint. If the variable is set to `ON`, all CTEs (except recursive CTE) in this session are forced to be inlined.

### tidb_partition_prune_mode <span class="version-mark">New in v5.1</span>

- Scope: SESSION | GLOBAL
Expand Down

0 comments on commit 76e8001

Please sign in to comment.