mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 5.1 -> 5.2
This commit is contained in:
@ -2134,7 +2134,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) */
|
/* 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
|
#if defined(HAVE_OPENSSL) && !defined(EMBEDDED_LIBRARY)
|
||||||
ERR_remove_state(0);
|
ERR_remove_state(0);
|
||||||
#endif
|
#endif
|
||||||
my_thread_end();
|
my_thread_end();
|
||||||
|
@ -2855,7 +2855,9 @@ err:
|
|||||||
|
|
||||||
DBUG_LEAVE; // Must match DBUG_ENTER()
|
DBUG_LEAVE; // Must match DBUG_ENTER()
|
||||||
my_thread_end();
|
my_thread_end();
|
||||||
|
#ifdef HAVE_OPENSSL
|
||||||
ERR_remove_state(0);
|
ERR_remove_state(0);
|
||||||
|
#endif
|
||||||
pthread_exit(0);
|
pthread_exit(0);
|
||||||
return 0; // Avoid compiler warnings
|
return 0; // Avoid compiler warnings
|
||||||
}
|
}
|
||||||
@ -3252,7 +3254,9 @@ 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();
|
||||||
|
#ifdef HAVE_OPENSSL
|
||||||
ERR_remove_state(0);
|
ERR_remove_state(0);
|
||||||
|
#endif
|
||||||
pthread_exit(0);
|
pthread_exit(0);
|
||||||
return 0; // Avoid compiler warnings
|
return 0; // Avoid compiler warnings
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user