This commit is contained in:
hebo
2019-09-06 21:21:45 +08:00
parent 0506fa2f63
commit c7833a9df7
4 changed files with 121 additions and 45 deletions

View File

@@ -96,7 +96,7 @@ const (
// See https://dev.mysql.com/doc/refman/5.7/en/identifiers.html
const (
// MaxMysqlPacketLen is the max packet payload length.
MaxMysqlPacketLen = 1<<24 - 1
MaxMysqlPacketLen = 4 * 1024 * 1024
)
const (