Skip to content

Commit 339337a

Browse files
authored
Merge pull request #3320 from dolthub/fulghum/bugfix
Mark `innodb_lock_wait_timeout` as being in both global and session scopes
2 parents 0b1008f + 016a6be commit 339337a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/variables/system_variables.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ var systemVars = map[string]sql.SystemVariable{
11041104
// Lowest value allowed by MySQL, which is 1. If you attempt to set this value to anything other than 1, errors ensue.
11051105
"innodb_lock_wait_timeout": &sql.MysqlSystemVariable{
11061106
Name: "innodb_lock_wait_timeout",
1107-
Scope: sql.GetMysqlScope(sql.SystemVariableScope_Global),
1107+
Scope: sql.GetMysqlScope(sql.SystemVariableScope_Both),
11081108
Dynamic: true,
11091109
SetVarHintApplies: false,
11101110
Type: types.NewSystemIntType("innodb_lock_wait_timeout", 1, 1, false),

0 commit comments

Comments
 (0)