245 out <<
"[page size: physical=" << obj.
physical()
uint32_t page_no_t
Page number.
Definition: api0api.h:45
Page size descriptor.
Definition: page0size.h:50
page_no_t extent_size() const
Definition: page0size.h:134
bool equals_to(const page_size_t &a) const
Check if a given page_size_t object is equal to the current one.
Definition: page0size.h:171
page_size_t(uint32_t fsp_flags)
Constructor from (fsp_flags).
Definition: page0size.h:81
void set_flag(uint32_t fsp_flags)
Definition: page0size.h:176
bool is_compressed() const
Check whether the page is compressed on disk.
Definition: page0size.h:158
unsigned m_physical
Physical page size.
Definition: page0size.h:229
unsigned m_is_compressed
Flag designating whether the physical page is compressed, which is true IFF the whole tablespace wher...
Definition: page0size.h:236
page_size_t(uint32_t physical, uint32_t logical, bool is_compressed)
Constructor from (physical, logical, is_compressed).
Definition: page0size.h:56
void copy_from(const page_size_t &src)
Copy the values from a given page_size_t object.
Definition: page0size.h:162
page_size_t & operator=(const page_size_t &)=default
size_t logical() const
Retrieve the logical page size (in-memory).
Definition: page0size.h:129
size_t extents_per_xdes() const
Definition: page0size.h:154
unsigned m_logical
Logical page size.
Definition: page0size.h:232
page_size_t(const page_size_t &)=default
size_t physical() const
Retrieve the physical page size (on-disk).
Definition: page0size.h:121
constexpr uint32_t FSP_FLAGS_GET_PAGE_SSIZE(uint32_t flags)
Return the value of the PAGE_SSIZE field.
Definition: fsp0types.h:335
constexpr uint32_t FSP_FLAGS_GET_ZIP_SSIZE(uint32_t flags)
Return the value of the ZIP_SSIZE field.
Definition: fsp0types.h:327
size_t size(const char *const c)
Definition: base64.h:46
constexpr size_t PAGE_SIZE_T_SIZE_BITS
Definition: page0size.h:46
std::ostream & operator<<(std::ostream &out, const page_size_t &obj)
Definition: page0size.h:244
page_size_t univ_page_size
constexpr size_t FIELD_REF_SIZE
Definition: page0size.h:39
const byte field_ref_zero[FIELD_REF_SIZE]
A BLOB field reference full of zero, for use in assertions and tests.Initially, BLOB field references...
Definition: page0zip.cc:42
constexpr uint32_t UNIV_ZIP_SIZE_MAX
Largest compressed page size.
Definition: univ.i:333
constexpr uint32_t UNIV_PAGE_SIZE_ORIG
Original 16k page size for InnoDB tablespaces.
Definition: univ.i:327
constexpr uint32_t UNIV_PAGE_SSIZE_ORIG
Original 16k InnoDB Page Size as an ssize (log2 - 9)
Definition: univ.i:318
unsigned long int ulint
Definition: univ.i:406
constexpr size_t UNIV_PAGE_SIZE_MAX
Maximum page size InnoDB currently supports.
Definition: univ.i:323
constexpr uint32_t UNIV_ZIP_SIZE_MIN
Smallest compressed page size.
Definition: univ.i:330
#define ut_error
Abort execution.
Definition: ut0dbg.h:101
#define ut_ad(EXPR)
Debug assertion.
Definition: ut0dbg.h:105
#define ut_d(EXPR)
Debug statement.
Definition: ut0dbg.h:107
#define ut_is_2pow(n)
Determines if a number is zero or a power of two.
Definition: ut0ut.h:203