Skip to content

Commit d6ba849

Browse files
committed
Remove unused code
1 parent 48fb450 commit d6ba849

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

sql/wsrep_binlog.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,6 @@ int wsrep_write_cache_buf(IO_CACHE *cache, uchar **buf, size_t *buf_len)
107107
* many transactions would fit in there
108108
* so there is no need to reach for the heap */
109109

110-
/* Returns minimum multiple of HEAP_PAGE_SIZE that is >= length */
111-
static inline size_t
112-
heap_size(size_t length)
113-
{
114-
return (length + HEAP_PAGE_SIZE - 1)/HEAP_PAGE_SIZE*HEAP_PAGE_SIZE;
115-
}
116-
117110
/*
118111
Write the contents of a cache to wsrep provider.
119112

sql/wsrep_mysqld.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ static PSI_file_info wsrep_files[]=
204204
my_bool wsrep_inited= 0; // initialized ?
205205

206206
static wsrep_uuid_t node_uuid= WSREP_UUID_UNDEFINED;
207-
static wsrep_uuid_t cluster_uuid= WSREP_UUID_UNDEFINED;
208207
static char cluster_uuid_str[40]= { 0, };
209208

210209
static char provider_name[256]= { 0, };

0 commit comments

Comments
 (0)