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
2b60ad36
Commit
2b60ad36
authored
Oct 16, 2013
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Plain Diff
Merge 5.1->5.2
parents
7ba78277
de4ca539
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
0 deletions
+24
-0
mysql-test/valgrind.supp
mysql-test/valgrind.supp
+12
-0
sql/mysqld.cc
sql/mysqld.cc
+4
-0
sql/slave.cc
sql/slave.cc
+2
-0
vio/vio.c
vio/vio.c
+6
-0
No files found.
mysql-test/valgrind.supp
View file @
2b60ad36
...
@@ -1060,6 +1060,18 @@
...
@@ -1060,6 +1060,18 @@
fun:row_drop_table_for_mysql
fun:row_drop_table_for_mysql
}
}
{
OpenSSL still reachable.
Memcheck:Leak
fun:*alloc
fun:CRYPTO_malloc
fun:sk_new
obj:*libssl*
fun:SSL_COMP_get_compression_methods
fun:SSL_library_init
}
{
{
Problem with udf and libresolve
Problem with udf and libresolve
Memcheck:Cond
Memcheck:Cond
...
...
sql/mysqld.cc
View file @
2b60ad36
...
@@ -2134,6 +2134,9 @@ bool one_thread_per_connection_end(THD *thd, bool put_in_cache)
...
@@ -2134,6 +2134,9 @@ bool one_thread_per_connection_end(THD *thd, bool put_in_cache)
/* It's safe to broadcast outside a lock (COND... is not deleted here) */
/* It's safe to broadcast outside a lock (COND... is not deleted here) */
DBUG_PRINT
(
"signal"
,
(
"Broadcasting COND_thread_count"
));
DBUG_PRINT
(
"signal"
,
(
"Broadcasting COND_thread_count"
));
DBUG_LEAVE
;
// Must match DBUG_ENTER()
DBUG_LEAVE
;
// Must match DBUG_ENTER()
#ifndef EMBEDDED_LIBRARY
ERR_remove_state
(
0
);
#endif
my_thread_end
();
my_thread_end
();
(
void
)
pthread_cond_broadcast
(
&
COND_thread_count
);
(
void
)
pthread_cond_broadcast
(
&
COND_thread_count
);
...
@@ -3794,6 +3797,7 @@ static void init_ssl()
...
@@ -3794,6 +3797,7 @@ static void init_ssl()
opt_ssl_ca
,
opt_ssl_capath
,
opt_ssl_ca
,
opt_ssl_capath
,
opt_ssl_cipher
,
&
error
);
opt_ssl_cipher
,
&
error
);
DBUG_PRINT
(
"info"
,(
"ssl_acceptor_fd: 0x%lx"
,
(
long
)
ssl_acceptor_fd
));
DBUG_PRINT
(
"info"
,(
"ssl_acceptor_fd: 0x%lx"
,
(
long
)
ssl_acceptor_fd
));
ERR_remove_state
(
0
);
if
(
!
ssl_acceptor_fd
)
if
(
!
ssl_acceptor_fd
)
{
{
sql_print_warning
(
"Failed to setup SSL"
);
sql_print_warning
(
"Failed to setup SSL"
);
...
...
sql/slave.cc
View file @
2b60ad36
...
@@ -2855,6 +2855,7 @@ err:
...
@@ -2855,6 +2855,7 @@ err:
DBUG_LEAVE
;
// Must match DBUG_ENTER()
DBUG_LEAVE
;
// Must match DBUG_ENTER()
my_thread_end
();
my_thread_end
();
ERR_remove_state
(
0
);
pthread_exit
(
0
);
pthread_exit
(
0
);
return
0
;
// Avoid compiler warnings
return
0
;
// Avoid compiler warnings
}
}
...
@@ -3251,6 +3252,7 @@ the slave SQL thread with \"SLAVE START\". We stopped at log \
...
@@ -3251,6 +3252,7 @@ the slave SQL thread with \"SLAVE START\". We stopped at log \
DBUG_LEAVE
;
// Must match DBUG_ENTER()
DBUG_LEAVE
;
// Must match DBUG_ENTER()
my_thread_end
();
my_thread_end
();
ERR_remove_state
(
0
);
pthread_exit
(
0
);
pthread_exit
(
0
);
return
0
;
// Avoid compiler warnings
return
0
;
// Avoid compiler warnings
}
}
...
...
vio/vio.c
View file @
2b60ad36
...
@@ -250,5 +250,11 @@ void vio_end(void)
...
@@ -250,5 +250,11 @@ void vio_end(void)
{
{
#ifdef HAVE_YASSL
#ifdef HAVE_YASSL
yaSSL_CleanUp
();
yaSSL_CleanUp
();
#elif defined(HAVE_OPENSSL)
// This one is needed on the client side
ERR_remove_state
(
0
);
ERR_free_strings
();
EVP_cleanup
();
CRYPTO_cleanup_all_ex_data
();
#endif
#endif
}
}
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