mysql_thread_end was never called in this function
This commit is contained in:
VilhoRaatikka
2014-09-23 12:33:30 +03:00
parent 45f8585804
commit b12415c054

View File

@ -682,6 +682,8 @@ process_zombies:
thread_data[thread_id].state = THREAD_STOPPED;
}
bitmask_clear(&poll_mask, thread_id);
/** Release mysql thread context */
mysql_thread_end();
return;
}
if (thread_data)
@ -689,8 +691,6 @@ process_zombies:
thread_data[thread_id].state = THREAD_IDLE;
}
} /*< while(1) */
/** Release mysql thread context */
mysql_thread_end();
}
/**