mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
InnoDB: Make the srv_thread_concurrency checks more consistent.
This commit is contained in:
@ -326,7 +326,7 @@ innodb_srv_conc_enter_innodb(
|
||||
/*=========================*/
|
||||
trx_t* trx) /* in: transaction handle */
|
||||
{
|
||||
if (UNIV_LIKELY(srv_thread_concurrency >= 20)) {
|
||||
if (UNIV_LIKELY(srv_thread_concurrency >= SRV_CONCURRENCY_THRESHOLD)) {
|
||||
|
||||
return;
|
||||
}
|
||||
@ -343,7 +343,7 @@ innodb_srv_conc_exit_innodb(
|
||||
/*========================*/
|
||||
trx_t* trx) /* in: transaction handle */
|
||||
{
|
||||
if (UNIV_LIKELY(srv_thread_concurrency >= 20)) {
|
||||
if (UNIV_LIKELY(srv_thread_concurrency >= SRV_CONCURRENCY_THRESHOLD)) {
|
||||
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user