1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-09 22:24:09 +03:00

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

like 9a218f4fb8 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>
This commit is contained in:
Daniel Black
2017-04-05 16:29:08 +10:00
parent 85239bdfeb
commit a7bb9e8fdb

View File

@@ -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;
}