Skip to content
Permalink
Browse files
Remove unused code
  • Loading branch information
dr-m committed Jan 24, 2019
1 parent 48fb450 commit d6ba849
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
@@ -107,13 +107,6 @@ int wsrep_write_cache_buf(IO_CACHE *cache, uchar **buf, size_t *buf_len)
* 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.
@@ -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, };

0 comments on commit d6ba849

Please sign in to comment.