taco-db  0.1.0
Public Attributes | List of all members
taco::MetaPageHeaderData Struct Reference

This is a truncated and private version of PageHeaderData. More...

#include <storage/FileManager_private.h>

Public Attributes

uint16_t m_flags
 
uint16_t m_reserved
 

Detailed Description

This is a truncated and private version of PageHeaderData.

Nothing other than the flags are needed in a meta file so we can use this to save space in the file directories. This is 4-bytes exactly and that means we can store 1023 PageNumber in a page directory, following the header.

Note: this must be kept in sync with PageHeaderData as a prefix of that.

Member Data Documentation

◆ m_flags

uint16_t taco::MetaPageHeaderData::m_flags

◆ m_reserved

uint16_t taco::MetaPageHeaderData::m_reserved

The documentation for this struct was generated from the following file: