diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index b06cfed..fd0213a 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -5973,7 +5973,18 @@ static void store_schema_partitions_record(THD *thd, TABLE *schema_table,
   CHARSET_INFO *cs= system_charset_info;
   PARTITION_STATS stat_info;
   MYSQL_TIME time;
-  file->get_dynamic_partition_info(&stat_info, part_id);
+
+  int should_dive = 0;
+  for (int f=12; f<=21; f++) {
+    if (bitmap_is_set(table->read_set, f)) {
+        should_dive = 1;
+        break;
+    }
+  }
+
+  if (should_dive)
+    file->get_dynamic_partition_info(&stat_info, part_id);
+
   table->field[0]->store(STRING_WITH_LEN("def"), cs);
   table->field[12]->store((longlong) stat_info.records, TRUE);
   table->field[13]->store((longlong) stat_info.mean_rec_length, TRUE);