Skip to content

Commit 64a37f6

Browse files
author
Jan Lindström
authored
Merge pull request #352 from grooverdan/10.1-xtradb-fil_crypt_rotate_page
xtradb: fil_crypt_rotate_page, space_id should be compared to TRX_SYS_SPACE
2 parents 85239bd + a7bb9e8 commit 64a37f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/xtradb/fil/fil0crypt.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ fil_crypt_rotate_page(
19511951
return;
19521952
}
19531953

1954-
if (space == TRX_SYS_SPACE && offset == TRX_SYS_PAGE_NO) {
1954+
if (space_id == TRX_SYS_SPACE && offset == TRX_SYS_PAGE_NO) {
19551955
/* don't encrypt this as it contains address to dblwr buffer */
19561956
return;
19571957
}

0 commit comments

Comments
 (0)