summaryrefslogtreecommitdiff
path: root/storage/innobase/fsp/fsp0space.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/fsp/fsp0space.cc')
-rw-r--r--storage/innobase/fsp/fsp0space.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/storage/innobase/fsp/fsp0space.cc b/storage/innobase/fsp/fsp0space.cc
index ed557fb8334..76269a749f9 100644
--- a/storage/innobase/fsp/fsp0space.cc
+++ b/storage/innobase/fsp/fsp0space.cc
@@ -126,15 +126,13 @@ Tablespace::open_or_create(bool is_temp)
if (it == begin) {
/* First data file. */
- ulint flags;
-
- flags = fsp_flags_set_page_size(0, univ_page_size);
-
/* Create the tablespace entry for the multi-file
tablespace in the tablespace manager. */
space = fil_space_create(
- m_name, m_space_id, flags, is_temp
- ? FIL_TYPE_TEMPORARY : FIL_TYPE_TABLESPACE, it->m_crypt_info,
+ m_name, m_space_id, FSP_FLAGS_PAGE_SSIZE(),
+ is_temp
+ ? FIL_TYPE_TEMPORARY : FIL_TYPE_TABLESPACE,
+ it->m_crypt_info,
false);
}