summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/fil/fil0crypt.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/storage/innobase/fil/fil0crypt.cc b/storage/innobase/fil/fil0crypt.cc
index 75efcdfdab0..f68eabba579 100644
--- a/storage/innobase/fil/fil0crypt.cc
+++ b/storage/innobase/fil/fil0crypt.cc
@@ -251,11 +251,6 @@ fil_space_read_crypt_data(
const byte* page, /*!< in: page 0 */
ulint offset) /*!< in: offset */
{
- if (memcmp(page + offset, EMPTY_PATTERN, MAGIC_SZ) == 0) {
- /* Crypt data is not stored. */
- return NULL;
- }
-
if (memcmp(page + offset, CRYPT_MAGIC, MAGIC_SZ) != 0) {
/* Crypt data is not stored. */
return NULL;