Merge 5.1->5.2
This commit is contained in:
commit
2b60ad3637
@ -1060,6 +1060,18 @@
|
||||
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
|
||||
Memcheck:Cond
|
||||
|
@ -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) */
|
||||
DBUG_PRINT("signal", ("Broadcasting COND_thread_count"));
|
||||
DBUG_LEAVE; // Must match DBUG_ENTER()
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
ERR_remove_state(0);
|
||||
#endif
|
||||
my_thread_end();
|
||||
(void) pthread_cond_broadcast(&COND_thread_count);
|
||||
|
||||
@ -3794,6 +3797,7 @@ static void init_ssl()
|
||||
opt_ssl_ca, opt_ssl_capath,
|
||||
opt_ssl_cipher, &error);
|
||||
DBUG_PRINT("info",("ssl_acceptor_fd: 0x%lx", (long) ssl_acceptor_fd));
|
||||
ERR_remove_state(0);
|
||||
if (!ssl_acceptor_fd)
|
||||
{
|
||||
sql_print_warning("Failed to setup SSL");
|
||||
|
@ -2855,6 +2855,7 @@ err:
|
||||
|
||||
DBUG_LEAVE; // Must match DBUG_ENTER()
|
||||
my_thread_end();
|
||||
ERR_remove_state(0);
|
||||
pthread_exit(0);
|
||||
return 0; // Avoid compiler warnings
|
||||
}
|
||||
@ -3251,6 +3252,7 @@ the slave SQL thread with \"SLAVE START\". We stopped at log \
|
||||
|
||||
DBUG_LEAVE; // Must match DBUG_ENTER()
|
||||
my_thread_end();
|
||||
ERR_remove_state(0);
|
||||
pthread_exit(0);
|
||||
return 0; // Avoid compiler warnings
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user