Skip to content

Commit 4c52223

Browse files
committed
MDEV-21751 postfix
Use symbolic constant for max purge threads.
1 parent bee4b04 commit 4c52223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/handler/ha_innodb.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19232,7 +19232,7 @@ static MYSQL_SYSVAR_ULONG(purge_batch_size, srv_purge_batch_size,
1923219232
static MYSQL_SYSVAR_UINT(purge_threads, srv_n_purge_threads,
1923319233
PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,
1923419234
"Number of tasks for purging transaction history",
19235-
NULL, NULL, 4, 1, 32, 0);
19235+
NULL, NULL, 4, 1, innodb_purge_threads_MAX, 0);
1923619236

1923719237
static MYSQL_SYSVAR_ULONG(sync_array_size, srv_sync_array_size,
1923819238
PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,

0 commit comments

Comments
 (0)