diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-07-23 18:56:52 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-07-23 18:56:52 +0300 |
commit | f418661efa34b5589c9e33cd8821c186f587fc06 (patch) | |
tree | faf72636b6b19c403c8a316fb601d7c214f0510b /storage/innobase/include/btr0sea.h | |
parent | b9865b289a756f68e522e094f37f24a4d7e45aa9 (diff) | |
parent | 9d1f3bf2e9425db8e352ee80e7b456dd6ef73fcb (diff) | |
download | mariadb-git-f418661efa34b5589c9e33cd8821c186f587fc06.tar.gz |
Merge 10.2 into 10.3
Diffstat (limited to 'storage/innobase/include/btr0sea.h')
-rw-r--r-- | storage/innobase/include/btr0sea.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/innobase/include/btr0sea.h b/storage/innobase/include/btr0sea.h index de45bc7b39f..4aaf3fb835e 100644 --- a/storage/innobase/include/btr0sea.h +++ b/storage/innobase/include/btr0sea.h @@ -171,6 +171,9 @@ static inline bool btr_search_own_all(ulint mode); @retval true if owns any of them @retval false if owns no search latch */ static inline bool btr_search_own_any(ulint mode); + +/** @return whether this thread holds any of the search latches */ +static inline bool btr_search_own_any(); #endif /* UNIV_DEBUG */ /** Unlock all search latches from shared mode. */ |