tx_read_only specifies whether the transaction is read-only.
| Attribute | Description |
|---|---|
| Type | INT |
| Default value | 0 |
| Value range | 1: The transaction is read-only.0: The transaction is not read-only. |
| Applicable scope | |
| Involved in serialization | Yes |
Note
This variable takes effect on the current user only.