Commit 3c7a00f3 authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fix for warning on -1 converted to 100 due to that

-1 was MAX which isn't a great idea.
parent bafbc527
......@@ -8239,7 +8239,7 @@ static MYSQL_SYSVAR_BOOL(extra_dirty_writes, innobase_extra_dirty_writes,
static MYSQL_SYSVAR_LONG(io_capacity, innobase_io_capacity,
PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
"Number of IOPs the server can do. Tunes the background IO rate",
NULL, NULL, (long)200, (long)100, (long)~0L, (long)0);
NULL, NULL, (long)200, (long)100, LONG_MAX, (long)0);
static MYSQL_SYSVAR_ULONG(fast_shutdown, innobase_fast_shutdown,
PLUGIN_VAR_OPCMDARG,
......
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