Skip to content

Commit

Permalink
xtradb: fil_crypt_rotate_page, space_id should be compared to TRX_SYS…
Browse files Browse the repository at this point in the history
…_SPACE not space

like 9a218f4 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>
  • Loading branch information
grooverdan committed Apr 5, 2017
1 parent 85239bd commit a7bb9e8
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 a7bb9e8

Please sign in to comment.