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
b8bb1855
Commit
b8bb1855
authored
Feb 16, 2022
by
Alexey Yurchenko
Committed by
Jan Lindström
Feb 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed dead code.
parent
c9bc10e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
sql/wsrep_mysqld.cc
sql/wsrep_mysqld.cc
+0
-1
sql/wsrep_utils.h
sql/wsrep_utils.h
+0
-21
No files found.
sql/wsrep_mysqld.cc
View file @
b8bb1855
...
@@ -322,7 +322,6 @@ void WSREP_LOG(void (*fun)(const char* fmt, ...), const char* fmt, ...)
...
@@ -322,7 +322,6 @@ void WSREP_LOG(void (*fun)(const char* fmt, ...), const char* fmt, ...)
wsrep_uuid_t
local_uuid
=
WSREP_UUID_UNDEFINED
;
wsrep_uuid_t
local_uuid
=
WSREP_UUID_UNDEFINED
;
wsrep_seqno_t
local_seqno
=
WSREP_SEQNO_UNDEFINED
;
wsrep_seqno_t
local_seqno
=
WSREP_SEQNO_UNDEFINED
;
wsp
::
node_status
local_status
;
/*
/*
*/
*/
...
...
sql/wsrep_utils.h
View file @
b8bb1855
...
@@ -21,27 +21,6 @@
...
@@ -21,27 +21,6 @@
unsigned
int
wsrep_check_ip
(
const
char
*
const
addr
,
bool
*
is_ipv6
);
unsigned
int
wsrep_check_ip
(
const
char
*
const
addr
,
bool
*
is_ipv6
);
size_t
wsrep_guess_ip
(
char
*
buf
,
size_t
buf_len
);
size_t
wsrep_guess_ip
(
char
*
buf
,
size_t
buf_len
);
namespace
wsp
{
class
node_status
{
public:
node_status
()
:
status
(
wsrep
::
server_state
::
s_disconnected
)
{}
void
set
(
enum
wsrep
::
server_state
::
state
new_status
,
const
wsrep
::
view
*
view
=
0
)
{
if
(
status
!=
new_status
||
0
!=
view
)
{
wsrep_notify_status
(
new_status
,
view
);
status
=
new_status
;
}
}
enum
wsrep
::
server_state
::
state
get
()
const
{
return
status
;
}
private:
enum
wsrep
::
server_state
::
state
status
;
};
}
/* namespace wsp */
extern
wsp
::
node_status
local_status
;
/* returns the length of the host part of the address string */
/* returns the length of the host part of the address string */
size_t
wsrep_host_len
(
const
char
*
addr
,
size_t
addr_len
);
size_t
wsrep_host_len
(
const
char
*
addr
,
size_t
addr_len
);
...
...
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