summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/fil/fil0crypt.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/fil/fil0crypt.cc b/storage/innobase/fil/fil0crypt.cc
index e357789349f..5502fbf1dbd 100644
--- a/storage/innobase/fil/fil0crypt.cc
+++ b/storage/innobase/fil/fil0crypt.cc
@@ -1889,12 +1889,12 @@ fil_crypt_get_page_throttle_func(
if (space->is_stopping()) {
return NULL;
}
-//#if 0
+
if (fseg_page_is_free(space, state->offset)) {
/* page is already freed */
return NULL;
}
-//#endif
+
state->crypt_stat.pages_read_from_disk++;
const ulonglong start = my_interval_timer();