mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Merge 5.3 -> 5.5
This commit is contained in:
commit
a06cd2cbe5
2 changed files with 5 additions and 1 deletions
|
@ -2615,7 +2615,7 @@ 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
|
||||
#if defined(HAVE_OPENSSL) && !defined(EMBEDDED_LIBRARY)
|
||||
ERR_remove_state(0);
|
||||
#endif
|
||||
my_thread_end();
|
||||
|
|
|
@ -3377,7 +3377,9 @@ err_during_init:
|
|||
|
||||
DBUG_LEAVE; // Must match DBUG_ENTER()
|
||||
my_thread_end();
|
||||
#ifdef HAVE_OPENSSL
|
||||
ERR_remove_state(0);
|
||||
#endif
|
||||
pthread_exit(0);
|
||||
return 0; // Avoid compiler warnings
|
||||
}
|
||||
|
@ -3783,7 +3785,9 @@ err_during_init:
|
|||
|
||||
DBUG_LEAVE; // Must match DBUG_ENTER()
|
||||
my_thread_end();
|
||||
#ifdef HAVE_OPENSSL
|
||||
ERR_remove_state(0);
|
||||
#endif
|
||||
pthread_exit(0);
|
||||
return 0; // Avoid compiler warnings
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue