diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 17f02c2442210bc0e0bee3ac23f26779b7dcc208..c3f2af27282ab7bdf558ff3bc7141de2ae651e00 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -5887,7 +5887,7 @@ void ha_partition::get_dynamic_partition_info(PARTITION_STATS *stat_info, uint part_id) { handler *file= m_file[part_id]; - file->info(HA_STATUS_CONST | HA_STATUS_TIME | HA_STATUS_VARIABLE | + file->info(HA_STATUS_TIME | HA_STATUS_VARIABLE | HA_STATUS_VARIABLE_EXTRA | HA_STATUS_NO_LOCK); stat_info->records= file->stats.records;