Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions sql/variables/system_variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,14 @@ var systemVars = map[string]sql.SystemVariable{
Type: types.NewSystemIntType("innodb_autoinc_lock_mode", 0, 2, false),
Default: int64(2),
},
"innodb_buffer_pool_size": &sql.MysqlSystemVariable{
Name: "innodb_buffer_pool_size",
Scope: sql.GetMysqlScope(sql.SystemVariableScope_Global),
Dynamic: true,
SetVarHintApplies: false,
Type: types.NewSystemIntType("innodb_buffer_pool_size", 5242880, math.MaxInt64, false),
Default: int64(134217728),
},
// Row locking is currently not supported. This variable is provided for 3p tools, and we always return the
// Lowest value allowed by MySQL, which is 1. If you attempt to set this value to anything other than 1, errors ensue.
"innodb_lock_wait_timeout": &sql.MysqlSystemVariable{
Expand Down