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
9a2eea40
Commit
9a2eea40
authored
Mar 05, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add "have_ssl" as synonym for "have_openssl"
parent
ab61d07a
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
25 additions
and
18 deletions
+25
-18
mysql-test/include/have_ssl.inc
mysql-test/include/have_ssl.inc
+4
-0
mysql-test/r/have_ssl.require
mysql-test/r/have_ssl.require
+1
-1
mysql-test/t/func_des_encrypt.test
mysql-test/t/func_des_encrypt.test
+1
-1
mysql-test/t/func_encrypt.test
mysql-test/t/func_encrypt.test
+1
-1
mysql-test/t/openssl_1.test
mysql-test/t/openssl_1.test
+4
-3
mysql-test/t/rpl_openssl.test
mysql-test/t/rpl_openssl.test
+1
-1
mysql-test/t/ssl.test
mysql-test/t/ssl.test
+1
-1
mysql-test/t/ssl_compress.test
mysql-test/t/ssl_compress.test
+1
-1
mysql-test/t/ssl_connect.test
mysql-test/t/ssl_connect.test
+1
-1
mysql-test/t/ssl_des.test
mysql-test/t/ssl_des.test
+1
-1
sql/mysql_priv.h
sql/mysql_priv.h
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+5
-5
sql/set_var.cc
sql/set_var.cc
+3
-1
No files found.
mysql-test/include/have_
open
ssl.inc
→
mysql-test/include/have_ssl.inc
View file @
9a2eea40
--
require
r
/
have_
open
ssl
.
require
--
require
r
/
have_ssl
.
require
disable_query_log
;
disable_query_log
;
show
variables
like
"have_
open
ssl"
;
show
variables
like
"have_ssl"
;
enable_query_log
;
enable_query_log
;
mysql-test/r/have_
open
ssl.require
→
mysql-test/r/have_ssl.require
View file @
9a2eea40
Variable_name Value
Variable_name Value
have_
open
ssl YES
have_ssl YES
mysql-test/t/func_des_encrypt.test
View file @
9a2eea40
--
source
include
/
have_
open
ssl
.
inc
--
source
include
/
have_ssl
.
inc
# This test can't be in func_encrypt.test, because it requires
# This test can't be in func_encrypt.test, because it requires
# --des-key-file to not be set.
# --des-key-file to not be set.
...
...
mysql-test/t/func_encrypt.test
View file @
9a2eea40
--
source
include
/
have_
open
ssl
.
inc
--
source
include
/
have_ssl
.
inc
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
;
drop
table
if
exists
t1
;
...
...
mysql-test/t/openssl_1.test
View file @
9a2eea40
# We test openssl. Result set is optimized to be compiled with --with-openssl.
# Tests for SSL connections, only run if mysqld is compiled
# Use mysql-test-run with --with-openssl option.
# with support for SSL.
--
source
include
/
have_openssl
.
inc
--
source
include
/
have_ssl
.
inc
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
;
drop
table
if
exists
t1
;
...
...
mysql-test/t/rpl_openssl.test
View file @
9a2eea40
source
include
/
have_
open
ssl
.
inc
;
source
include
/
have_ssl
.
inc
;
source
include
/
master
-
slave
.
inc
;
source
include
/
master
-
slave
.
inc
;
# We don't test all types of ssl auth params here since it's a bit hard
# We don't test all types of ssl auth params here since it's a bit hard
...
...
mysql-test/t/ssl.test
View file @
9a2eea40
# Turn on ssl between the client and server
# Turn on ssl between the client and server
# and run a number of tests
# and run a number of tests
--
source
include
/
have_
open
ssl
.
inc
--
source
include
/
have_ssl
.
inc
connect
(
ssl_con
,
localhost
,
root
,,,,,
SSL
);
connect
(
ssl_con
,
localhost
,
root
,,,,,
SSL
);
...
...
mysql-test/t/ssl_compress.test
View file @
9a2eea40
# Turn on compression between the client and server
# Turn on compression between the client and server
# and run a number of tests
# and run a number of tests
--
source
include
/
have_
open
ssl
.
inc
--
source
include
/
have_ssl
.
inc
--
source
include
/
have_compress
.
inc
--
source
include
/
have_compress
.
inc
connect
(
ssl_compress_con
,
localhost
,
root
,,,,,
SSL
COMPRESS
);
connect
(
ssl_compress_con
,
localhost
,
root
,,,,,
SSL
COMPRESS
);
...
...
mysql-test/t/ssl_connect.test
View file @
9a2eea40
--
source
include
/
have_
open
ssl
.
inc
--
source
include
/
have_ssl
.
inc
# Repeat connect/disconnect
# Repeat connect/disconnect
...
...
mysql-test/t/ssl_des.test
View file @
9a2eea40
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# then turn on ssl between the client and server
# then turn on ssl between the client and server
# and run a number of standard tests
# and run a number of standard tests
--
source
include
/
have_
open
ssl
.
inc
--
source
include
/
have_ssl
.
inc
# Connect by ip to avoid turning on "ssl-verify-server-cert"
# Connect by ip to avoid turning on "ssl-verify-server-cert"
connect
(
ssl_con
,
127.0
.
0.1
,
root
,,,,
$MASTER_MYPORT
,
SSL
);
connect
(
ssl_con
,
127.0
.
0.1
,
root
,,,,
$MASTER_MYPORT
,
SSL
);
...
...
sql/mysql_priv.h
View file @
9a2eea40
...
@@ -1383,7 +1383,7 @@ extern handlerton myisammrg_hton;
...
@@ -1383,7 +1383,7 @@ extern handlerton myisammrg_hton;
#define have_merge_db myisammrg_hton.state
#define have_merge_db myisammrg_hton.state
extern
SHOW_COMP_OPTION
have_isam
;
extern
SHOW_COMP_OPTION
have_isam
;
extern
SHOW_COMP_OPTION
have_raid
,
have_
open
ssl
,
have_symlink
,
have_dlopen
;
extern
SHOW_COMP_OPTION
have_raid
,
have_ssl
,
have_symlink
,
have_dlopen
;
extern
SHOW_COMP_OPTION
have_query_cache
;
extern
SHOW_COMP_OPTION
have_query_cache
;
extern
SHOW_COMP_OPTION
have_geometry
,
have_rtree_keys
;
extern
SHOW_COMP_OPTION
have_geometry
,
have_rtree_keys
;
extern
SHOW_COMP_OPTION
have_crypt
;
extern
SHOW_COMP_OPTION
have_crypt
;
...
...
sql/mysqld.cc
View file @
9a2eea40
...
@@ -489,7 +489,7 @@ CHARSET_INFO *national_charset_info, *table_alias_charset;
...
@@ -489,7 +489,7 @@ CHARSET_INFO *national_charset_info, *table_alias_charset;
CHARSET_INFO
*
character_set_filesystem
;
CHARSET_INFO
*
character_set_filesystem
;
SHOW_COMP_OPTION
have_isam
;
SHOW_COMP_OPTION
have_isam
;
SHOW_COMP_OPTION
have_raid
,
have_
open
ssl
,
have_symlink
,
have_query_cache
;
SHOW_COMP_OPTION
have_raid
,
have_ssl
,
have_symlink
,
have_query_cache
;
SHOW_COMP_OPTION
have_geometry
,
have_rtree_keys
,
have_dlopen
;
SHOW_COMP_OPTION
have_geometry
,
have_rtree_keys
,
have_dlopen
;
SHOW_COMP_OPTION
have_crypt
,
have_compress
;
SHOW_COMP_OPTION
have_crypt
,
have_compress
;
...
@@ -3017,12 +3017,12 @@ static void init_ssl()
...
@@ -3017,12 +3017,12 @@ static void init_ssl()
if
(
!
ssl_acceptor_fd
)
if
(
!
ssl_acceptor_fd
)
{
{
opt_use_ssl
=
0
;
opt_use_ssl
=
0
;
have_
open
ssl
=
SHOW_OPTION_DISABLED
;
have_ssl
=
SHOW_OPTION_DISABLED
;
}
}
}
}
else
else
{
{
have_
open
ssl
=
SHOW_OPTION_DISABLED
;
have_ssl
=
SHOW_OPTION_DISABLED
;
}
}
if
(
des_key_file
)
if
(
des_key_file
)
load_des_key_file
(
des_key_file
);
load_des_key_file
(
des_key_file
);
...
@@ -6591,9 +6591,9 @@ static void mysql_init_variables(void)
...
@@ -6591,9 +6591,9 @@ static void mysql_init_variables(void)
have_raid
=
SHOW_OPTION_NO
;
have_raid
=
SHOW_OPTION_NO
;
#endif
#endif
#ifdef HAVE_OPENSSL
#ifdef HAVE_OPENSSL
have_
open
ssl
=
SHOW_OPTION_YES
;
have_ssl
=
SHOW_OPTION_YES
;
#else
#else
have_
open
ssl
=
SHOW_OPTION_NO
;
have_ssl
=
SHOW_OPTION_NO
;
#endif
#endif
#ifdef HAVE_BROKEN_REALPATH
#ifdef HAVE_BROKEN_REALPATH
have_symlink
=
SHOW_OPTION_NO
;
have_symlink
=
SHOW_OPTION_NO
;
...
...
sql/set_var.cc
View file @
9a2eea40
...
@@ -874,7 +874,9 @@ struct show_var_st init_vars[]= {
...
@@ -874,7 +874,9 @@ struct show_var_st init_vars[]= {
{
"have_isam"
,
(
char
*
)
&
have_isam
,
SHOW_HAVE
},
{
"have_isam"
,
(
char
*
)
&
have_isam
,
SHOW_HAVE
},
{
"have_merge_engine"
,
(
char
*
)
&
have_merge_db
,
SHOW_HAVE
},
{
"have_merge_engine"
,
(
char
*
)
&
have_merge_db
,
SHOW_HAVE
},
{
"have_ndbcluster"
,
(
char
*
)
&
have_ndbcluster
,
SHOW_HAVE
},
{
"have_ndbcluster"
,
(
char
*
)
&
have_ndbcluster
,
SHOW_HAVE
},
{
"have_openssl"
,
(
char
*
)
&
have_openssl
,
SHOW_HAVE
},
/* have_openssl is just and alias for have_ssl */
{
"have_openssl"
,
(
char
*
)
&
have_ssl
,
SHOW_HAVE
},
{
"have_ssl"
,
(
char
*
)
&
have_ssl
,
SHOW_HAVE
},
{
"have_query_cache"
,
(
char
*
)
&
have_query_cache
,
SHOW_HAVE
},
{
"have_query_cache"
,
(
char
*
)
&
have_query_cache
,
SHOW_HAVE
},
{
"have_raid"
,
(
char
*
)
&
have_raid
,
SHOW_HAVE
},
{
"have_raid"
,
(
char
*
)
&
have_raid
,
SHOW_HAVE
},
{
"have_rtree_keys"
,
(
char
*
)
&
have_rtree_keys
,
SHOW_HAVE
},
{
"have_rtree_keys"
,
(
char
*
)
&
have_rtree_keys
,
SHOW_HAVE
},
...
...
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