Skip to content

Commit 137c9af

Browse files
committed
Adding @@max_binlog_size system variable
1 parent 47f8933 commit 137c9af

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sql/variables/system_variables.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,14 @@ var systemVars = map[string]sql.SystemVariable{
13981398
Type: types.NewSystemUintType("max_allowed_packet", 1024, 1073741824),
13991399
Default: int64(1073741824),
14001400
},
1401+
"max_binlog_size": &sql.MysqlSystemVariable{
1402+
Name: "max_binlog_size",
1403+
Scope: sql.GetMysqlScope(sql.SystemVariableScope_Global),
1404+
Dynamic: true,
1405+
SetVarHintApplies: false,
1406+
Type: types.NewSystemUintType("max_binlog_size", 4096, 1073741824),
1407+
Default: int64(1073741824),
1408+
},
14011409
"max_connect_errors": &sql.MysqlSystemVariable{
14021410
Name: "max_connect_errors",
14031411
Scope: sql.GetMysqlScope(sql.SystemVariableScope_Global),

0 commit comments

Comments
 (0)