Commit d6ba8496 authored by Marko Mäkelä's avatar Marko Mäkelä

Remove unused code

parent 48fb4504
...@@ -107,13 +107,6 @@ int wsrep_write_cache_buf(IO_CACHE *cache, uchar **buf, size_t *buf_len) ...@@ -107,13 +107,6 @@ int wsrep_write_cache_buf(IO_CACHE *cache, uchar **buf, size_t *buf_len)
* many transactions would fit in there * many transactions would fit in there
* so there is no need to reach for the heap */ * 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. Write the contents of a cache to wsrep provider.
......
...@@ -204,7 +204,6 @@ static PSI_file_info wsrep_files[]= ...@@ -204,7 +204,6 @@ static PSI_file_info wsrep_files[]=
my_bool wsrep_inited= 0; // initialized ? my_bool wsrep_inited= 0; // initialized ?
static wsrep_uuid_t node_uuid= WSREP_UUID_UNDEFINED; 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 cluster_uuid_str[40]= { 0, };
static char provider_name[256]= { 0, }; static char provider_name[256]= { 0, };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment