summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-10-07 17:18:10 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-10-07 17:18:10 +0300
commitdb9a4d928dc8e81ce449b54ef0bf02c248d931d4 (patch)
tree95274bfff15dca998c16ee7170940c19c714c3b8
parentd481f69a7de919f9d699bf18a5b0bfd669f6131b (diff)
downloadmariadb-git-db9a4d928dc8e81ce449b54ef0bf02c248d931d4.tar.gz
Remove orphan declaration buf_flush_wait_batch_end_wait_only()
The function was declared but not defined in commit 9d6d1902e091c868bb288e0ccf9f975ccb474db9
-rw-r--r--storage/innobase/include/buf0flu.h11
-rw-r--r--storage/xtradb/include/buf0flu.h11
2 files changed, 0 insertions, 22 deletions
diff --git a/storage/innobase/include/buf0flu.h b/storage/innobase/include/buf0flu.h
index b5cfcb125e6..4cc26be3918 100644
--- a/storage/innobase/include/buf0flu.h
+++ b/storage/innobase/include/buf0flu.h
@@ -141,17 +141,6 @@ buf_flush_wait_batch_end(
buf_pool_t* buf_pool, /*!< in: buffer pool instance */
enum buf_flush type); /*!< in: BUF_FLUSH_LRU
or BUF_FLUSH_LIST */
-/******************************************************************//**
-Waits until a flush batch of the given type ends. This is called by
-a thread that only wants to wait for a flush to end but doesn't do
-any flushing itself. */
-UNIV_INTERN
-void
-buf_flush_wait_batch_end_wait_only(
-/*===============================*/
- buf_pool_t* buf_pool, /*!< in: buffer pool instance */
- enum buf_flush type); /*!< in: BUF_FLUSH_LRU
- or BUF_FLUSH_LIST */
/********************************************************************//**
This function should be called at a mini-transaction commit, if a page was
modified in it. Puts the block to the list of modified blocks, if it not
diff --git a/storage/xtradb/include/buf0flu.h b/storage/xtradb/include/buf0flu.h
index ed01b627bf4..83d4dae7f1c 100644
--- a/storage/xtradb/include/buf0flu.h
+++ b/storage/xtradb/include/buf0flu.h
@@ -143,17 +143,6 @@ buf_flush_wait_batch_end(
buf_pool_t* buf_pool, /*!< in: buffer pool instance */
enum buf_flush type); /*!< in: BUF_FLUSH_LRU
or BUF_FLUSH_LIST */
-/******************************************************************//**
-Waits until a flush batch of the given type ends. This is called by
-a thread that only wants to wait for a flush to end but doesn't do
-any flushing itself. */
-UNIV_INTERN
-void
-buf_flush_wait_batch_end_wait_only(
-/*===============================*/
- buf_pool_t* buf_pool, /*!< in: buffer pool instance */
- enum buf_flush type); /*!< in: BUF_FLUSH_LRU
- or BUF_FLUSH_LIST */
/********************************************************************//**
This function should be called at a mini-transaction commit, if a page was
modified in it. Puts the block to the list of modified blocks, if it not