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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6ca1e16e
Commit
6ca1e16e
authored
Apr 02, 2007
by
Kristofer.Pettersson@naruto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Type cast of constant string (empty) to keep compiler happy.
parent
a4b3a9d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/mysqld.cc
sql/mysqld.cc
+2
-2
No files found.
sql/mysqld.cc
View file @
6ca1e16e
...
@@ -6742,7 +6742,7 @@ static int show_ssl_get_version(THD *thd, SHOW_VAR *var, char *buff)
...
@@ -6742,7 +6742,7 @@ static int show_ssl_get_version(THD *thd, SHOW_VAR *var, char *buff)
if
(
thd
->
vio_ok
()
&&
thd
->
net
.
vio
->
ssl_arg
)
if
(
thd
->
vio_ok
()
&&
thd
->
net
.
vio
->
ssl_arg
)
var
->
value
=
const_cast
<
char
*>
(
SSL_get_version
((
SSL
*
)
thd
->
net
.
vio
->
ssl_arg
));
var
->
value
=
const_cast
<
char
*>
(
SSL_get_version
((
SSL
*
)
thd
->
net
.
vio
->
ssl_arg
));
else
else
var
->
value
=
""
;
var
->
value
=
(
char
*
)
""
;
return
0
;
return
0
;
}
}
...
@@ -6796,7 +6796,7 @@ static int show_ssl_get_cipher(THD *thd, SHOW_VAR *var, char *buff)
...
@@ -6796,7 +6796,7 @@ static int show_ssl_get_cipher(THD *thd, SHOW_VAR *var, char *buff)
if
(
thd
->
vio_ok
()
&&
thd
->
net
.
vio
->
ssl_arg
)
if
(
thd
->
vio_ok
()
&&
thd
->
net
.
vio
->
ssl_arg
)
var
->
value
=
const_cast
<
char
*>
(
SSL_get_cipher
((
SSL
*
)
thd
->
net
.
vio
->
ssl_arg
));
var
->
value
=
const_cast
<
char
*>
(
SSL_get_cipher
((
SSL
*
)
thd
->
net
.
vio
->
ssl_arg
));
else
else
var
->
value
=
""
;
var
->
value
=
(
char
*
)
""
;
return
0
;
return
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