diff options
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 5118818fa54..0b46ca4123c 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -2913,6 +2913,35 @@ err_alloc: } +void ha_partition::unbind_psi() +{ + uint i; + + DBUG_ENTER("ha_partition::unbind_psi"); + handler::unbind_psi(); + for (i= 0; i < m_tot_parts; i++) + { + DBUG_ASSERT(m_file[i] != NULL); + m_file[i]->unbind_psi(); + } + DBUG_VOID_RETURN; +} + +void ha_partition::rebind_psi() +{ + uint i; + + DBUG_ENTER("ha_partition::rebind_psi"); + handler::rebind_psi(); + for (i= 0; i < m_tot_parts; i++) + { + DBUG_ASSERT(m_file[i] != NULL); + m_file[i]->rebind_psi(); + } + DBUG_VOID_RETURN; +} + + /** Clone the open and locked partitioning handler. |