summaryrefslogtreecommitdiff
path: root/storage/innobase/sync/sync0arr.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-01-07 00:06:24 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-01-07 19:45:50 +0400
commitc66db377d75b40c42f336223ac865e4820698e55 (patch)
tree3b77041683f7512629967d77c4235d0ee220ef86 /storage/innobase/sync/sync0arr.cc
parentaa2db754196c03e26b70b40987c75bedb75b5e32 (diff)
downloadmariadb-git-c66db377d75b40c42f336223ac865e4820698e55.tar.gz
MDEV-17441 - InnoDB transition to C++11 atomics
Replaced srv_fatal_semaphore_wait_threshold juggling with btr_validate_index_running counter. Removed last argument of btr_validate_index(): always false. Simplified away btr_validate_spatial_index().
Diffstat (limited to 'storage/innobase/sync/sync0arr.cc')
-rw-r--r--storage/innobase/sync/sync0arr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/sync/sync0arr.cc b/storage/innobase/sync/sync0arr.cc
index 9b65cfa7b89..9fead862fa1 100644
--- a/storage/innobase/sync/sync0arr.cc
+++ b/storage/innobase/sync/sync0arr.cc
@@ -970,7 +970,7 @@ sync_array_print_long_waits_low(
ulint i;
/* For huge tables, skip the check during CHECK TABLE etc... */
- if (fatal_timeout > SRV_SEMAPHORE_WAIT_EXTENSION) {
+ if (btr_validate_index_running) {
return(false);
}