Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MCOL-4566: Extend CompressedDBFileHeader struct with new fields. #1795

Merged

Conversation

denis0x0D
Copy link
Contributor

  • This patch extends CompressedDBFileHeader struct with new fields:
    fColumWidth, fColDataType, which are necessary to rebuild extent map
    from the given file. Note: new fields do not change the memory
    layout of the struct, because the size is calculated as
    max(sizeof(CompressedDBFileHeader), HDR_BUF_LEN)).

  • This patch changes API of some functions, by adding new function
    argument colDataType when needed, to be able to call initHdr
    function with colDataType value.

* This patch extends CompressedDBFileHeader struct with new fields:
  `fColumWidth`, `fColDataType`, which are necessary to rebuild extent map
  from the given file. Note: new fields do not change the memory
  layout of the struct, because the size is calculated as
  max(sizeof(CompressedDBFileHeader), HDR_BUF_LEN)).

* This patch changes API of some functions, by adding new function
  argument `colDataType` when needed, to be able to call `initHdr`
  function with colDataType value.
@drrtuy drrtuy merged commit 508d545 into mariadb-corporation:develop Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants