From d6ba8496175a2dd85d772f8486eb032c31969f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Thu, 24 Jan 2019 17:16:23 +0200 Subject: [PATCH] Remove unused code --- sql/wsrep_binlog.cc | 7 ------- sql/wsrep_mysqld.cc | 1 - 2 files changed, 8 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. diff --git a/sql/wsrep_mysqld.cc b/sql/wsrep_mysqld.cc index 2bb350cd45d..0fdc7f0b911 100644 --- a/sql/wsrep_mysqld.cc +++ b/sql/wsrep_mysqld.cc @@ -204,7 +204,6 @@ static PSI_file_info wsrep_files[]= my_bool wsrep_inited= 0; // initialized ? static wsrep_uuid_t node_uuid= WSREP_UUID_UNDEFINED; -static wsrep_uuid_t cluster_uuid= WSREP_UUID_UNDEFINED; static char cluster_uuid_str[40]= { 0, }; static char provider_name[256]= { 0, };