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
386df879
Commit
386df879
authored
Sep 08, 2023
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable SSL via named pipes in the internal client
because it doesn't work. CONC-635.
parent
3c36ed18
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
extra/mariabackup/backup_mysql.cc
extra/mariabackup/backup_mysql.cc
+1
-1
sql-common/client.c
sql-common/client.c
+6
-0
No files found.
extra/mariabackup/backup_mysql.cc
View file @
386df879
...
@@ -132,7 +132,7 @@ xb_mysql_connect()
...
@@ -132,7 +132,7 @@ xb_mysql_connect()
opt_socket
?
opt_socket
:
"not set"
);
opt_socket
?
opt_socket
:
"not set"
);
#ifdef HAVE_OPENSSL
#ifdef HAVE_OPENSSL
if
(
opt_use_ssl
&&
opt_protocol
<=
MYSQL_PROTOCOL_SOCKET
)
if
(
opt_use_ssl
)
{
{
mysql_ssl_set
(
connection
,
opt_ssl_key
,
opt_ssl_cert
,
mysql_ssl_set
(
connection
,
opt_ssl_key
,
opt_ssl_cert
,
opt_ssl_ca
,
opt_ssl_capath
,
opt_ssl_ca
,
opt_ssl_capath
,
...
...
sql-common/client.c
View file @
386df879
...
@@ -2052,6 +2052,12 @@ static int send_client_reply_packet(MCPVIO_EXT *mpvio,
...
@@ -2052,6 +2052,12 @@ static int send_client_reply_packet(MCPVIO_EXT *mpvio,
if
(
mpvio
->
db
)
if
(
mpvio
->
db
)
mysql
->
client_flag
|=
CLIENT_CONNECT_WITH_DB
;
mysql
->
client_flag
|=
CLIENT_CONNECT_WITH_DB
;
if
(
mysql
->
net
.
vio
->
type
==
VIO_TYPE_NAMEDPIPE
)
{
mysql
->
server_capabilities
&=
~
CLIENT_SSL
;
mysql
->
options
.
use_ssl
=
0
;
}
/* Remove options that server doesn't support */
/* Remove options that server doesn't support */
mysql
->
client_flag
=
mysql
->
client_flag
&
mysql
->
client_flag
=
mysql
->
client_flag
&
(
~
(
CLIENT_COMPRESS
|
CLIENT_SSL
|
CLIENT_PROTOCOL_41
)
(
~
(
CLIENT_COMPRESS
|
CLIENT_SSL
|
CLIENT_PROTOCOL_41
)
...
...
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