Commit 1bfa37a7 authored by Jan Lindström's avatar Jan Lindström

Add more information if encryption information is already stored for

tablespace but page0 is not yet read.
parent ec5bd0d3
......@@ -7286,7 +7286,14 @@ fil_space_get_crypt_data(
crypt_data = space->crypt_data;
ut_ad(space->page_0_crypt_read);
if (!space->page_0_crypt_read) {
ib_logf(IB_LOG_LEVEL_WARN,
"Space %lu name %s contains encryption %d information for key_id %d but page0 is not read.",
space->id,
space->name,
space->crypt_data ? space->crypt_data->encryption : 0,
space->crypt_data ? space->crypt_data->key_id : 0);
}
}
return(crypt_data);
......
......@@ -7390,7 +7390,14 @@ fil_space_get_crypt_data(
crypt_data = space->crypt_data;
ut_ad(space->page_0_crypt_read);
if (!space->page_0_crypt_read) {
ib_logf(IB_LOG_LEVEL_WARN,
"Space %lu name %s contains encryption %d information for key_id %d but page0 is not read.",
space->id,
space->name,
space->crypt_data ? space->crypt_data->encryption : 0,
space->crypt_data ? space->crypt_data->key_id : 0);
}
}
return(crypt_data);
......
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