diff options
author | marko@hundin.mysql.fi <> | 2005-07-06 09:38:31 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2005-07-06 09:38:31 +0300 |
commit | 006bb7bbc902f82af8feb6ac239057ba1f8caad8 (patch) | |
tree | f3295bc3f1f368875f4b9869737386a53ab0f0ae /sql/ha_innodb.cc | |
parent | 060a53ab255c85aa34dcce657c00ce201b4ffff3 (diff) | |
download | mariadb-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.cc | 4 |
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; } |