summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.cc
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2005-07-06 09:38:31 +0300
committermarko@hundin.mysql.fi <>2005-07-06 09:38:31 +0300
commit006bb7bbc902f82af8feb6ac239057ba1f8caad8 (patch)
treef3295bc3f1f368875f4b9869737386a53ab0f0ae /sql/ha_innodb.cc
parent060a53ab255c85aa34dcce657c00ce201b4ffff3 (diff)
downloadmariadb-git-006bb7bbc902f82af8feb6ac239057ba1f8caad8.tar.gz
InnoDB: Make the srv_thread_concurrency checks more consistent.
Diffstat (limited to 'sql/ha_innodb.cc')
-rw-r--r--sql/ha_innodb.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index 8218e4fecc0..e33a0939e27 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -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;
}