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
ada744b6
Commit
ada744b6
authored
Dec 09, 2008
by
Andrei Elkin
Browse files
Options
Browse Files
Download
Plain Diff
merge 5.1-bt to a local clone.
parents
ed7b41d6
482fa1f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
extra/yassl/include/openssl/ssl.h
extra/yassl/include/openssl/ssl.h
+2
-2
sql/mysqld.cc
sql/mysqld.cc
+16
-0
No files found.
extra/yassl/include/openssl/ssl.h
View file @
ada744b6
...
@@ -203,8 +203,8 @@ SSL_CTX* SSL_CTX_new(SSL_METHOD*);
...
@@ -203,8 +203,8 @@ SSL_CTX* SSL_CTX_new(SSL_METHOD*);
SSL
*
SSL_new
(
SSL_CTX
*
);
SSL
*
SSL_new
(
SSL_CTX
*
);
int
SSL_set_fd
(
SSL
*
,
YASSL_SOCKET_T
);
int
SSL_set_fd
(
SSL
*
,
YASSL_SOCKET_T
);
YASSL_SOCKET_T
SSL_get_fd
(
const
SSL
*
);
YASSL_SOCKET_T
SSL_get_fd
(
const
SSL
*
);
int
SSL_connect
(
SSL
*
);
/
/
if you get an error from connect
int
SSL_connect
(
SSL
*
);
/
*
if you get an error from connect
// see note at top of REAMDE
see note at top of REAMDE */
int
SSL_write
(
SSL
*
,
const
void
*
,
int
);
int
SSL_write
(
SSL
*
,
const
void
*
,
int
);
int
SSL_read
(
SSL
*
,
void
*
,
int
);
int
SSL_read
(
SSL
*
,
void
*
,
int
);
int
SSL_accept
(
SSL
*
);
int
SSL_accept
(
SSL
*
);
...
...
sql/mysqld.cc
View file @
ada744b6
...
@@ -227,6 +227,12 @@ extern "C" int gethostname(char *name, int namelen);
...
@@ -227,6 +227,12 @@ extern "C" int gethostname(char *name, int namelen);
extern
"C"
sig_handler
handle_segfault
(
int
sig
);
extern
"C"
sig_handler
handle_segfault
(
int
sig
);
#if defined(__linux__)
#define ENABLE_TEMP_POOL 1
#else
#define ENABLE_TEMP_TOOL 0
#endif
/* Constants */
/* Constants */
const
char
*
show_comp_option_name
[]
=
{
"YES"
,
"NO"
,
"DISABLED"
};
const
char
*
show_comp_option_name
[]
=
{
"YES"
,
"NO"
,
"DISABLED"
};
...
@@ -3398,8 +3404,13 @@ static int init_common_variables(const char *conf_file_name, int argc,
...
@@ -3398,8 +3404,13 @@ static int init_common_variables(const char *conf_file_name, int argc,
sys_var_slow_log_path
.
value
=
my_strdup
(
s
,
MYF
(
0
));
sys_var_slow_log_path
.
value
=
my_strdup
(
s
,
MYF
(
0
));
sys_var_slow_log_path
.
value_length
=
strlen
(
s
);
sys_var_slow_log_path
.
value_length
=
strlen
(
s
);
#if (ENABLE_TEMP_POOL)
if
(
use_temp_pool
&&
bitmap_init
(
&
temp_pool
,
0
,
1024
,
1
))
if
(
use_temp_pool
&&
bitmap_init
(
&
temp_pool
,
0
,
1024
,
1
))
return
1
;
return
1
;
#else
use_temp_pool
=
0
;
#endif
if
(
my_database_names_init
())
if
(
my_database_names_init
())
return
1
;
return
1
;
...
@@ -6297,9 +6308,14 @@ log and this option does nothing anymore.",
...
@@ -6297,9 +6308,14 @@ log and this option does nothing anymore.",
(
uchar
**
)
&
opt_tc_heuristic_recover
,
(
uchar
**
)
&
opt_tc_heuristic_recover
,
(
uchar
**
)
&
opt_tc_heuristic_recover
,
(
uchar
**
)
&
opt_tc_heuristic_recover
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"temp-pool"
,
OPT_TEMP_POOL
,
{
"temp-pool"
,
OPT_TEMP_POOL
,
#if (ENABLE_TEMP_POOL)
"Using this option will cause most temporary files created to use a small set of names, rather than a unique name for each new file."
,
"Using this option will cause most temporary files created to use a small set of names, rather than a unique name for each new file."
,
#else
"This option is ignored on this OS."
,
#endif
(
uchar
**
)
&
use_temp_pool
,
(
uchar
**
)
&
use_temp_pool
,
0
,
GET_BOOL
,
NO_ARG
,
1
,
(
uchar
**
)
&
use_temp_pool
,
(
uchar
**
)
&
use_temp_pool
,
0
,
GET_BOOL
,
NO_ARG
,
1
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
,
0
,
0
},
{
"timed_mutexes"
,
OPT_TIMED_MUTEXES
,
{
"timed_mutexes"
,
OPT_TIMED_MUTEXES
,
"Specify whether to time mutexes (only InnoDB mutexes are currently supported)"
,
"Specify whether to time mutexes (only InnoDB mutexes are currently supported)"
,
(
uchar
**
)
&
timed_mutexes
,
(
uchar
**
)
&
timed_mutexes
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
(
uchar
**
)
&
timed_mutexes
,
(
uchar
**
)
&
timed_mutexes
,
0
,
GET_BOOL
,
NO_ARG
,
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