Fixes #2921: Prevent 'child_mysql' to access 'GloMTH' if it's already de-initialized

pull/2957/head
Javier Jaramago Fernández 6 years ago
parent 72ee8586ee
commit 543f2ce8b6

@ -4603,6 +4603,7 @@ void ProxySQL_Admin::vacuum_stats(bool is_admin) {
void *child_mysql(void *arg) {
if (GloMTH == nullptr) { return NULL; }
pthread_attr_t thread_attr;
size_t tmp_stack_size=0;

Loading…
Cancel
Save