summaryrefslogtreecommitdiff
path: root/storage/innobase/include/btr0sea.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-07-23 18:56:52 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-07-23 18:56:52 +0300
commitf418661efa34b5589c9e33cd8821c186f587fc06 (patch)
treefaf72636b6b19c403c8a316fb601d7c214f0510b /storage/innobase/include/btr0sea.h
parentb9865b289a756f68e522e094f37f24a4d7e45aa9 (diff)
parent9d1f3bf2e9425db8e352ee80e7b456dd6ef73fcb (diff)
downloadmariadb-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.h3
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. */