Merge 5.5 -> 10.0-base
This commit is contained in:
commit
adbb439358
@ -2702,7 +2702,7 @@ bool one_thread_per_connection_end(THD *thd, bool put_in_cache)
|
|||||||
mysql_mutex_unlock(&LOCK_thread_count);
|
mysql_mutex_unlock(&LOCK_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();
|
||||||
|
@ -3962,7 +3962,9 @@ err_during_init:
|
|||||||
|
|
||||||
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
|
||||||
}
|
}
|
||||||
@ -4449,7 +4451,9 @@ err_during_init:
|
|||||||
|
|
||||||
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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user