Skip to content

Commit

Permalink
Merge pull request #350 from grooverdan/10.1-TRX_SYS_PAGE_NO
Browse files Browse the repository at this point in the history
fil_crypt_rotate_page - space_id should be compared to TRX_SYS_SPACE not space
  • Loading branch information
Jan Lindström committed Apr 5, 2017
2 parents 9505c96 + 9a218f4 commit 85239bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/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 85239bd

Please sign in to comment.