mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Merge a couple more fixes from 10.0-base to 10.0
This commit is contained in:
commit
421bbdcf10
8 changed files with 17 additions and 11 deletions
|
@ -1,3 +1,4 @@
|
|||
if (`select @@debug_sync not like 'ON %'`) {
|
||||
--skip Needs a debug_sync enabled
|
||||
if (`SELECT COUNT(*) = 0 FROM information_schema.session_variables WHERE
|
||||
variable_name = 'debug_sync' AND variable_value LIKE 'ON %'`) {
|
||||
--skip Needs debug_sync enabled
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
-- require r/not_openssl.require
|
||||
disable_query_log;
|
||||
show variables like "have_openssl";
|
||||
enable_query_log;
|
4
mysql-test/include/not_ssl.inc
Normal file
4
mysql-test/include/not_ssl.inc
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (`select @@have_ssl = 'YES'`)
|
||||
{
|
||||
skip only without SSL;
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
Variable_name Value
|
||||
have_openssl NO
|
|
@ -1,4 +1,4 @@
|
|||
-- source include/not_openssl.inc
|
||||
-- source include/not_ssl.inc
|
||||
|
||||
#
|
||||
# Test output from des_encrypt and des_decrypt when server is
|
||||
|
|
|
@ -660,6 +660,7 @@ SHOW_COMP_OPTION have_ssl, have_symlink, have_dlopen, have_query_cache;
|
|||
SHOW_COMP_OPTION have_geometry, have_rtree_keys;
|
||||
SHOW_COMP_OPTION have_crypt, have_compress;
|
||||
SHOW_COMP_OPTION have_profiling;
|
||||
SHOW_COMP_OPTION have_openssl;
|
||||
|
||||
/* Thread specific variables */
|
||||
|
||||
|
@ -7600,8 +7601,13 @@ static int mysql_init_variables(void)
|
|||
|
||||
#if defined(HAVE_OPENSSL) && !defined(EMBEDDED_LIBRARY)
|
||||
have_ssl=SHOW_OPTION_YES;
|
||||
#if HAVE_YASSL
|
||||
have_openssl= SHOW_OPTION_NO;
|
||||
#else
|
||||
have_ssl=SHOW_OPTION_NO;
|
||||
have_openssl= SHOW_OPTION_YES;
|
||||
#endif
|
||||
#else
|
||||
have_openssl= have_ssl= SHOW_OPTION_NO;
|
||||
#endif
|
||||
#ifdef HAVE_BROKEN_REALPATH
|
||||
have_symlink=SHOW_OPTION_NO;
|
||||
|
|
|
@ -299,6 +299,7 @@ extern SHOW_COMP_OPTION have_query_cache;
|
|||
extern SHOW_COMP_OPTION have_geometry, have_rtree_keys;
|
||||
extern SHOW_COMP_OPTION have_crypt;
|
||||
extern SHOW_COMP_OPTION have_compress;
|
||||
extern SHOW_COMP_OPTION have_openssl;
|
||||
|
||||
/*
|
||||
Prototypes for helper functions
|
||||
|
|
|
@ -3326,7 +3326,7 @@ static Sys_var_have Sys_have_geometry(
|
|||
|
||||
static Sys_var_have Sys_have_openssl(
|
||||
"have_openssl", "have_openssl",
|
||||
READ_ONLY GLOBAL_VAR(have_ssl), NO_CMD_LINE);
|
||||
READ_ONLY GLOBAL_VAR(have_openssl), NO_CMD_LINE);
|
||||
|
||||
static Sys_var_have Sys_have_profiling(
|
||||
"have_profiling", "have_profiling",
|
||||
|
|
Loading…
Add table
Reference in a new issue