diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-04 16:56:28 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-04 16:56:28 +0300 |
commit | 7920a797836358a9b550ad16d52b6f69c060246b (patch) | |
tree | 1435ff4d5b0ebe0a5aca2b5d94747aa48fd464d4 | |
parent | 06d770d5034cdd060704607959a94cf59f5ae676 (diff) | |
download | mariadb-git-7920a797836358a9b550ad16d52b6f69c060246b.tar.gz |
Revert a diagnostic patch
-rw-r--r-- | storage/innobase/fil/fil0crypt.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/storage/innobase/fil/fil0crypt.cc b/storage/innobase/fil/fil0crypt.cc index 3ab2b18d448..32fd844ec17 100644 --- a/storage/innobase/fil/fil0crypt.cc +++ b/storage/innobase/fil/fil0crypt.cc @@ -697,13 +697,7 @@ fil_space_encrypt( memcpy(tmp_mem + FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION, src + FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION, 8); - if (memcmp(src, tmp_mem, page_size.physical())) { - fputs("\nInnoDB: old page from disk:", stderr); - ut_print_buf(stderr, src, page_size.physical()); - fputs("\nInnoDB: After decompressing the page:", stderr); - ut_print_buf(stderr, tmp_mem, page_size.physical()); - ut_ad(0); - } + ut_ad(!memcmp(src, tmp_mem, page_size.physical())); } #endif /* UNIV_DEBUG */ |