[opt](variables) enlarge the default value of max_allowed_packet (#38697) (#39626)

bp #38697
This commit is contained in:
Mingyu Chen
2024-08-20 22:02:01 +08:00
committed by GitHub
parent dfd21bd2a0
commit a5daa3edc8

View File

@ -788,7 +788,7 @@ public class SessionVariable implements Serializable, Writable {
// this is used to make c3p0 library happy
@VariableMgr.VarAttr(name = MAX_ALLOWED_PACKET)
public int maxAllowedPacket = 1048576;
public int maxAllowedPacket = 16777216;
@VariableMgr.VarAttr(name = AUTO_INCREMENT_INCREMENT)
public int autoIncrementIncrement = 1;