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
84e8e07e
Commit
84e8e07e
authored
Feb 19, 2018
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Fix 2 more VS2015 warnings"
This reverts commit
0ea45725
, since it breaks clang
parent
0ea45725
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
sql/slave.cc
sql/slave.cc
+10
-9
No files found.
sql/slave.cc
View file @
84e8e07e
...
...
@@ -2626,6 +2626,7 @@ bool show_master_info(THD *thd, Master_info *mi, bool full)
void
show_master_info_get_fields
(
THD
*
thd
,
List
<
Item
>
*
field_list
,
bool
full
,
size_t
gtid_pos_length
)
{
Master_info
*
mi
;
MEM_ROOT
*
mem_root
=
thd
->
mem_root
;
DBUG_ENTER
(
"show_master_info_get_fields"
);
...
...
@@ -2644,10 +2645,10 @@ void show_master_info_get_fields(THD *thd, List<Item> *field_list,
Item_empty_string
(
thd
,
"Slave_IO_State"
,
30
),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Master_Host"
,
sizeof
(
Master_info
::
host
)),
Item_empty_string
(
thd
,
"Master_Host"
,
sizeof
(
mi
->
host
)),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Master_User"
,
sizeof
(
Master_info
::
user
)),
Item_empty_string
(
thd
,
"Master_User"
,
sizeof
(
mi
->
user
)),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_return_int
(
thd
,
"Master_Port"
,
7
,
MYSQL_TYPE_LONG
),
...
...
@@ -2732,23 +2733,23 @@ void show_master_info_get_fields(THD *thd, List<Item> *field_list,
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Master_SSL_CA_File"
,
sizeof
(
Master_info
::
ssl_ca
)),
sizeof
(
mi
->
ssl_ca
)),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Master_SSL_CA_Path"
,
sizeof
(
Master_info
::
ssl_capath
)),
sizeof
(
mi
->
ssl_capath
)),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Master_SSL_Cert"
,
sizeof
(
Master_info
::
ssl_cert
)),
sizeof
(
mi
->
ssl_cert
)),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Master_SSL_Cipher"
,
sizeof
(
Master_info
::
ssl_cipher
)),
sizeof
(
mi
->
ssl_cipher
)),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Master_SSL_Key"
,
sizeof
(
Master_info
::
ssl_key
)),
sizeof
(
mi
->
ssl_key
)),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_return_int
(
thd
,
"Seconds_Behind_Master"
,
10
,
...
...
@@ -2782,11 +2783,11 @@ void show_master_info_get_fields(THD *thd, List<Item> *field_list,
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Master_SSL_Crl"
,
sizeof
(
Master_info
::
ssl_crl
)),
sizeof
(
mi
->
ssl_crl
)),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Master_SSL_Crlpath"
,
sizeof
(
Master_info
::
ssl_crlpath
)),
sizeof
(
mi
->
ssl_crlpath
)),
mem_root
);
field_list
->
push_back
(
new
(
mem_root
)
Item_empty_string
(
thd
,
"Using_Gtid"
,
...
...
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