Skip to content

Commit 0b843c3

Browse files
committed
sysvar: add 2 sysvars (pingcap#10662) (pingcap#10696)
1 parent 0e6fd6a commit 0b843c3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

system-variables.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -331,15 +331,14 @@ This variable is an alias for [`last_insert_id`](#last_insert_id).
331331
- Default value: `OFF`
332332
- This variable indicates whether [TiDB Binlog](https://docs.pingcap.com/tidb/stable/tidb-binlog-overview) is used.
333333

334-
### max_allowed_packet
334+
### max_allowed_packet <span class="version-mark">New in v6.1.0</span>
335335

336336
- Scope: SESSION | GLOBAL
337337
- Persists to cluster: Yes
338-
- Type: Integer
339338
- Default value: `67108864`
340-
- Range: `[1024, 1073741824]`
341-
- Unit: Bytes
342-
- The maximum size of a packet for the MySQL protocol.
339+
- Range: `[1024, 1073741824]`. The value should be an integer multiple of 1024. If the value is not divisible by 1024, a warning will be prompted and the value will be rounded down. For example, when the value is set to 1025, the actual value in TiDB is 1024.
340+
- The maximum packet size allowed by the server and the client in one transmission of packets, in bytes.
341+
- This variable is compatible with MySQL.
343342

344343
### max_connections
345344

0 commit comments

Comments
 (0)