Commit 4c522234 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-21751 postfix

Use symbolic constant for max purge threads.
parent bee4b044
......@@ -19232,7 +19232,7 @@ static MYSQL_SYSVAR_ULONG(purge_batch_size, srv_purge_batch_size,
static MYSQL_SYSVAR_UINT(purge_threads, srv_n_purge_threads,
PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,
"Number of tasks for purging transaction history",
NULL, NULL, 4, 1, 32, 0);
NULL, NULL, 4, 1, innodb_purge_threads_MAX, 0);
static MYSQL_SYSVAR_ULONG(sync_array_size, srv_sync_array_size,
PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment