summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorDaniel Black <daniel.black@au.ibm.com>2017-04-05 16:29:08 +1000
committerDaniel Black <daniel.black@au.ibm.com>2017-04-05 16:29:08 +1000
commita7bb9e8fdbdd5a3a01910117ef54c0fe09374de2 (patch)
treeca1607d5294cbd4d2e2a102e94266bca0e3a61da /storage
parent85239bdfebd60de2798c79271a057cfde16e5f00 (diff)
downloadmariadb-git-a7bb9e8fdbdd5a3a01910117ef54c0fe09374de2.tar.gz
xtradb: fil_crypt_rotate_page, space_id should be compared to TRX_SYS_SPACE not space
like 9a218f4fb871c1169dd6015a3be9d965929dbd1f fil_crypt_rotate_page - space_id should be compared to TRX_SYS_SPACE not space Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
Diffstat (limited to 'storage')
-rw-r--r--storage/xtradb/fil/fil0crypt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/fil/fil0crypt.cc b/storage/xtradb/fil/fil0crypt.cc
index 7bef91f47ff..9c5f782da32 100644
--- a/storage/xtradb/fil/fil0crypt.cc
+++ b/storage/xtradb/fil/fil0crypt.cc
@@ -1951,7 +1951,7 @@ fil_crypt_rotate_page(
return;
}
- if (space == TRX_SYS_SPACE && offset == TRX_SYS_PAGE_NO) {
+ if (space_id == TRX_SYS_SPACE && offset == TRX_SYS_PAGE_NO) {
/* don't encrypt this as it contains address to dblwr buffer */
return;
}