MDEV-23199 page_compression flag is missing for full_crc32 tablespace

- Changed the fil_space_set_recv_size_and_flags() to set the
tablespace size when size is not zero.
parent 8993e40d
...@@ -1411,7 +1411,7 @@ void fil_space_set_recv_size_and_flags(ulint id, ulint size, uint32_t flags) ...@@ -1411,7 +1411,7 @@ void fil_space_set_recv_size_and_flags(ulint id, ulint size, uint32_t flags)
if (fil_space_t* space= fil_space_get_space(id)) if (fil_space_t* space= fil_space_get_space(id))
{ {
if (!size) space->recv_size= size; if (size) space->recv_size= size;
if (flags != FSP_FLAGS_FCRC32_MASK_MARKER) space->flags= flags; if (flags != FSP_FLAGS_FCRC32_MASK_MARKER) space->flags= flags;
} }
mutex_exit(&fil_system.mutex); mutex_exit(&fil_system.mutex);
......
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