summaryrefslogtreecommitdiff
path: root/innobase/include/ibuf0ibuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/ibuf0ibuf.h')
-rw-r--r--innobase/include/ibuf0ibuf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/innobase/include/ibuf0ibuf.h b/innobase/include/ibuf0ibuf.h
index f0b333192de..99fb1595f49 100644
--- a/innobase/include/ibuf0ibuf.h
+++ b/innobase/include/ibuf0ibuf.h
@@ -226,6 +226,21 @@ ibuf_contract(
issued read with the highest tablespace address
to complete */
/*************************************************************************
+Contracts insert buffer trees by reading pages to the buffer pool. */
+
+ulint
+ibuf_contract_for_n_pages(
+/*======================*/
+ /* out: a lower limit for the combined size in bytes
+ of entries which will be merged from ibuf trees to the
+ pages read, 0 if ibuf is empty */
+ ibool sync, /* in: TRUE if the caller wants to wait for the
+ issued read with the highest tablespace address
+ to complete */
+ ulint n_pages);/* in: try to read at least this many pages to
+ the buffer pool and merge the ibuf contents to
+ them */
+/*************************************************************************
Parses a redo log record of an ibuf bitmap page init. */
byte*