From f425b47944aa087e7acbbc17436adfbbe179a464 Mon Sep 17 00:00:00 2001 From: Cao Kai Date: Fri, 20 Dec 2024 11:35:09 +0800 Subject: [PATCH] revert maximum values of max_allowed_packet to 1G --- pkg/frontend/variables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/frontend/variables.go b/pkg/frontend/variables.go index 48b4a777a7048..84d62ec3993bd 100644 --- a/pkg/frontend/variables.go +++ b/pkg/frontend/variables.go @@ -1040,7 +1040,7 @@ var gSysVarsDefs = map[string]SystemVariable{ Scope: ScopeBoth, Dynamic: true, SetVarHintApplies: false, - Type: InitSystemVariableIntType("max_allowed_packet", 1024, 67108864, false), + Type: InitSystemVariableIntType("max_allowed_packet", 1024, 1073741824, false), Default: int64(67108864), }, "version_comment": {