Details
-
Bug
-
Status: Closed (View Workflow)
-
Resolution: Fixed
-
None
-
None
-
None
Description
The loop below is run twice in xt_xn_init_db() . It initialized the same pthread_cond structures each time. It leaks events on Windows (since each pthread_cond contains 3 events that would be created with CreateEvent)
Moreover, it creates problems (i.e debug exceptions) when mysqld is run under application verifier.
Problematic code :
for (u_int i=0; i<XT_XN_NO_OF_SEGMENTS; i++)
{ seg = &db->db_xn_idx[i]; XT_XACT_INIT_LOCK(self, &seg->xs_tab_lock); ... }