Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d6ba8496
Commit
d6ba8496
authored
Jan 24, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused code
parent
48fb4504
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
sql/wsrep_binlog.cc
sql/wsrep_binlog.cc
+0
-7
sql/wsrep_mysqld.cc
sql/wsrep_mysqld.cc
+0
-1
No files found.
sql/wsrep_binlog.cc
View file @
d6ba8496
...
@@ -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.
...
...
sql/wsrep_mysqld.cc
View file @
d6ba8496
...
@@ -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
,
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment