summaryrefslogtreecommitdiff
path: root/sql/wsrep_binlog.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-01-24 17:16:23 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-01-24 22:22:56 +0200
commitd6ba8496175a2dd85d772f8486eb032c31969f59 (patch)
tree364d489d40142e52b7430a5c019d48793f8e2944 /sql/wsrep_binlog.cc
parent48fb4504c59ff9b87c88dcea50ba54cd459e8c97 (diff)
downloadmariadb-git-d6ba8496175a2dd85d772f8486eb032c31969f59.tar.gz
Remove unused code
Diffstat (limited to 'sql/wsrep_binlog.cc')
-rw-r--r--sql/wsrep_binlog.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/wsrep_binlog.cc b/sql/wsrep_binlog.cc
index b02692d14fe..8fcb2fae694 100644
--- a/sql/wsrep_binlog.cc
+++ b/sql/wsrep_binlog.cc
@@ -107,13 +107,6 @@ cleanup:
* many transactions would fit in there
* so there is no need to reach for the heap */
-/* Returns minimum multiple of HEAP_PAGE_SIZE that is >= length */
-static inline size_t
-heap_size(size_t length)
-{
- return (length + HEAP_PAGE_SIZE - 1)/HEAP_PAGE_SIZE*HEAP_PAGE_SIZE;
-}
-
/*
Write the contents of a cache to wsrep provider.