Skip to content

Commit

Permalink
Merge pull request #352 from grooverdan/10.1-xtradb-fil_crypt_rotate_…
Browse files Browse the repository at this point in the history
…page

xtradb: fil_crypt_rotate_page, space_id should be compared to TRX_SYS_SPACE
  • Loading branch information
Jan Lindström committed Apr 5, 2017
2 parents 85239bd + a7bb9e8 commit 64a37f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/xtradb/fil/fil0crypt.cc
Expand Up @@ -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;
}
Expand Down

0 comments on commit 64a37f6

Please sign in to comment.