| 2608 | /* this is called only once */ |
| 2609 | |
| 2610 | void MYSQL_BIN_LOG::cleanup() |
| 2611 | { |
| 2612 | DBUG_ENTER("cleanup"); |
| 2613 | if (inited) |
| 2614 | { |
| 2615 | inited= 0; |
| 2616 | close(LOG_CLOSE_INDEX|LOG_CLOSE_STOP_EVENT); |
| 2617 | mysql_mutex_destroy(&LOCK_log); |
| 2618 | mysql_mutex_destroy(&LOCK_index); |
| 2619 | mysql_mutex_destroy(&LOCK_commit); |
| 2620 | mysql_mutex_destroy(&LOCK_sync); |
| 2621 | mysql_mutex_destroy(&LOCK_xids); |
| 2622 | mysql_cond_destroy(&update_cond); |
| 2623 | my_atomic_rwlock_destroy(&m_prep_xids_lock); |
| 2624 | mysql_cond_destroy(&m_prep_xids_cond); |
| 2625 | stage_manager.deinit(); |
| 2626 | } |
| 2627 | DBUG_VOID_RETURN; |
| 2628 | } |
| 2629 | |
| 2630 | |
| 2631 | void MYSQL_BIN_LOG::init_pthread_objects() |
nothing calls this directly
no outgoing calls
no test coverage detected