Commit a7bb9e8f authored by Daniel Black's avatar Daniel Black

xtradb: fil_crypt_rotate_page, space_id should be compared to TRX_SYS_SPACE not space

like 9a218f4f fil_crypt_rotate_page
 - space_id should be compared to TRX_SYS_SPACE not space
Signed-off-by: default avatarDaniel Black <daniel.black@au.ibm.com>
parent 85239bdf
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment