transaction_read_only specifies whether to allow the enablement of read-only transactions. Notice
This variable has not been used and does not take effect even if it is specified.
| Property | Description |
|---|---|
| Parameter type | Boolean |
| Default value | False |
| Value range | * True * False |
| Effective scope | * GLOBAL * SESSION |
| Involved in serialization | Yes. In remote execution and distributed execution scenarios, this variable is involved in serialization. |
| Effective upon restart | No |
When transaction_read_only is set to True, DML statements cannot be executed.