summaryrefslogtreecommitdiff
path: root/storage/innobase/fil/fil0fil.cc
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2020-09-11 16:37:13 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2020-09-11 16:37:13 +0530
commitaf834c218a59b0f187edb19aa4f8bd476b9ed6ac (patch)
treec9180a5358729d04fd0f4aafec05690ab26c15d5 /storage/innobase/fil/fil0fil.cc
parent8993e40dde2803156bacd9977495336eb8c03cf9 (diff)
downloadmariadb-git-af834c218a59b0f187edb19aa4f8bd476b9ed6ac.tar.gz
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.
Diffstat (limited to 'storage/innobase/fil/fil0fil.cc')
-rw-r--r--storage/innobase/fil/fil0fil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/fil/fil0fil.cc b/storage/innobase/fil/fil0fil.cc
index 97f0a578fe9..8bc32aa4443 100644
--- a/storage/innobase/fil/fil0fil.cc
+++ b/storage/innobase/fil/fil0fil.cc
@@ -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 (!size) space->recv_size= size;
+ if (size) space->recv_size= size;
if (flags != FSP_FLAGS_FCRC32_MASK_MARKER) space->flags= flags;
}
mutex_exit(&fil_system.mutex);