mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix compile warning/error on Windows.
This commit is contained in:
@ -425,11 +425,6 @@ int TP_pool_win::init()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
Control stack size (OS must be Win7 or later)
|
|
||||||
*/
|
|
||||||
if (SetThreadpoolStackInformation)
|
|
||||||
{
|
|
||||||
TP_POOL_STACK_INFORMATION stackinfo;
|
TP_POOL_STACK_INFORMATION stackinfo;
|
||||||
stackinfo.StackCommit = 0;
|
stackinfo.StackCommit = 0;
|
||||||
stackinfo.StackReserve = (SIZE_T)my_thread_stack_size;
|
stackinfo.StackReserve = (SIZE_T)my_thread_stack_size;
|
||||||
@ -438,7 +433,6 @@ int TP_pool_win::init()
|
|||||||
tp_log_warning("Can't set threadpool stack size",
|
tp_log_warning("Can't set threadpool stack size",
|
||||||
"SetThreadpoolStackInformation");
|
"SetThreadpoolStackInformation");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user