mysql_thread_end was never called in this function
This commit is contained in:
@ -682,6 +682,8 @@ process_zombies:
|
|||||||
thread_data[thread_id].state = THREAD_STOPPED;
|
thread_data[thread_id].state = THREAD_STOPPED;
|
||||||
}
|
}
|
||||||
bitmask_clear(&poll_mask, thread_id);
|
bitmask_clear(&poll_mask, thread_id);
|
||||||
|
/** Release mysql thread context */
|
||||||
|
mysql_thread_end();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (thread_data)
|
if (thread_data)
|
||||||
@ -689,8 +691,6 @@ process_zombies:
|
|||||||
thread_data[thread_id].state = THREAD_IDLE;
|
thread_data[thread_id].state = THREAD_IDLE;
|
||||||
}
|
}
|
||||||
} /*< while(1) */
|
} /*< while(1) */
|
||||||
/** Release mysql thread context */
|
|
||||||
mysql_thread_end();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user