| 3856 | } |
| 3857 | |
| 3858 | void handler::end_psi_batch_mode() |
| 3859 | { |
| 3860 | #ifdef HAVE_PSI_TABLE_INTERFACE |
| 3861 | DBUG_ASSERT(m_psi_batch_mode != PSI_BATCH_MODE_NONE); |
| 3862 | if (m_psi_locker != NULL) |
| 3863 | { |
| 3864 | DBUG_ASSERT(m_psi_batch_mode == PSI_BATCH_MODE_STARTED); |
| 3865 | PSI_TABLE_CALL(end_table_io_wait)(m_psi_locker, m_psi_numrows); |
| 3866 | m_psi_locker= NULL; |
| 3867 | } |
| 3868 | m_psi_batch_mode= PSI_BATCH_MODE_NONE; |
| 3869 | #endif |
| 3870 | } |
| 3871 | |
| 3872 | PSI_table_share *handler::ha_table_share_psi() const |
| 3873 | { |
no outgoing calls
no test coverage detected