Skip to content

Commit efd371e

Browse files
authored
system-variables: improve noop functions warning (pingcap#6374)
1 parent 5a56bcc commit efd371e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system-variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,9 @@ Constraint checking is always performed in place for pessimistic transactions (d
596596
* `START TRANSACTION READ ONLY` and `SET TRANSACTION READ ONLY` syntax
597597
* The `tx_read_only`, `transaction_read_only`, `offline_mode`, `super_read_only` and `read_only` system variables
598598

599-
> **Note:**
599+
> **Warning:**
600600
>
601-
> Only the default value of `OFF` can be considered safe. Setting `tidb_enable_noop_functions=1` might lead to unexpected behaviors in your application, because it permits TiDB to ignore certain syntax without providing an error.
601+
> Only the default value of `OFF` can be considered safe. Setting `tidb_enable_noop_functions=1` might lead to unexpected behaviors in your application, because it permits TiDB to ignore certain syntax without providing an error. For example, the syntax `START TRANSACTION READ ONLY` is permitted, but the transaction remains in read-write mode.
602602

603603
### tidb_enable_parallel_apply <span class="version-mark">New in v5.0</span>
604604

0 commit comments

Comments
 (0)