summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2019-10-03 18:12:08 +0530
committerMarko Mäkelä <marko.makela@mariadb.com>2019-10-09 13:13:12 +0300
commitc65cb244b35412ef54192b17120f7ace8a8af5fd (patch)
tree1e1e7fa393ca63cc7a128a6f82d79209c2361ea4 /extra
parent24232ec12cb6e6d68cd2517389e37842011b6718 (diff)
downloadmariadb-git-c65cb244b35412ef54192b17120f7ace8a8af5fd.tar.gz
MDEV-19335 Remove buf_page_t::encrypted
The field buf_page_t::encrypted was added in MDEV-8588. It was made mostly redundant in MDEV-12699. Remove the field.
Diffstat (limited to 'extra')
-rw-r--r--extra/mariabackup/fil_cur.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/extra/mariabackup/fil_cur.cc b/extra/mariabackup/fil_cur.cc
index dce0f9ba6f2..b229a37d934 100644
--- a/extra/mariabackup/fil_cur.cc
+++ b/extra/mariabackup/fil_cur.cc
@@ -339,11 +339,9 @@ static bool page_is_corrupted(const byte *page, ulint page_no,
memcpy(tmp_page, page, page_size);
- bool decrypted = false;
if (!space->crypt_data
|| space->crypt_data->type == CRYPT_SCHEME_UNENCRYPTED
- || !fil_space_decrypt(space, tmp_frame, tmp_page,
- &decrypted)) {
+ || !fil_space_decrypt(space, tmp_frame, tmp_page)) {
return true;
}