diff options
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 66fcce893a8..645b17817e9 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -2864,13 +2864,13 @@ bool ha_partition::create_handlers(MEM_ROOT *mem_root) bzero((char*) m_file, alloc_len); for (i= 0; i < m_tot_parts; i++) { - handlerton *hton= plugin_data(m_engine_array[i], handlerton*); + handlerton *hton= plugin_hton(m_engine_array[i]); if (!(m_file[i]= get_new_handler(table_share, mem_root, hton))) DBUG_RETURN(TRUE); DBUG_PRINT("info", ("engine_type: %u", hton->db_type)); } /* For the moment we only support partition over the same table engine */ - hton0= plugin_data(m_engine_array[0], handlerton*); + hton0= plugin_hton(m_engine_array[0]); if (hton0 == myisam_hton) { DBUG_PRINT("info", ("MyISAM")); |