diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-07-22 11:22:09 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-07-22 11:22:09 +0300 |
commit | cee37b5d26453538dc7830a20fa4c8da3d9285b7 (patch) | |
tree | 39104c3e974c51410ecff151eafdd0a85a3824b9 /storage/innobase/include | |
parent | 593885f785440358028999cb8d2c47d4b0a1e917 (diff) | |
parent | 5f4314f0e6033e81361641a6731c0ef1656cc35c (diff) | |
download | mariadb-git-cee37b5d26453538dc7830a20fa4c8da3d9285b7.tar.gz |
Merge 10.6 into 10.7
Diffstat (limited to 'storage/innobase/include')
-rw-r--r-- | storage/innobase/include/buf0types.h | 6 | ||||
-rw-r--r-- | storage/innobase/include/fil0crypt.h | 6 | ||||
-rw-r--r-- | storage/innobase/include/fsp0fsp.h | 13 | ||||
-rw-r--r-- | storage/innobase/include/log0log.h | 5 |
4 files changed, 6 insertions, 24 deletions
diff --git a/storage/innobase/include/buf0types.h b/storage/innobase/include/buf0types.h index 18b6a91abe2..04b47aaddab 100644 --- a/storage/innobase/include/buf0types.h +++ b/storage/innobase/include/buf0types.h @@ -159,11 +159,11 @@ private: uint64_t m_id; }; -/** A field reference full of zero, for use in assertions and checks, +/** A 64KiB buffer of NUL bytes, for use in assertions and checks, and dummy default values of instantly dropped columns. -Initially, BLOB field references are set to zero, in +Initially, BLOB field references are set to NUL bytes, in dtuple_convert_big_rec(). */ -extern const byte field_ref_zero[UNIV_PAGE_SIZE_MAX]; +extern const byte *field_ref_zero; #ifndef UNIV_INNOCHECKSUM diff --git a/storage/innobase/include/fil0crypt.h b/storage/innobase/include/fil0crypt.h index eb63c5cf427..29a76defec1 100644 --- a/storage/innobase/include/fil0crypt.h +++ b/storage/innobase/include/fil0crypt.h @@ -172,12 +172,6 @@ struct fil_space_crypt_t : st_encryption_scheme return (encryption == FIL_ENCRYPTION_OFF); } - /** Fill crypt data information to the give page. - It should be called during ibd file creation. - @param[in] flags tablespace flags - @param[in,out] page first page of the tablespace */ - void fill_page0(ulint flags, byte* page); - /** Write encryption metadata to the first page. @param[in,out] block first page of the tablespace @param[in,out] mtr mini-transaction */ diff --git a/storage/innobase/include/fsp0fsp.h b/storage/innobase/include/fsp0fsp.h index 10765852529..51333cb5955 100644 --- a/storage/innobase/include/fsp0fsp.h +++ b/storage/innobase/include/fsp0fsp.h @@ -1,7 +1,7 @@ /***************************************************************************** Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved. -Copyright (c) 2013, 2020, MariaDB Corporation. +Copyright (c) 2013, 2021, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -342,17 +342,6 @@ fsp_header_check_encryption_key( ulint fsp_flags, page_t* page); -/**********************************************************************//** -Writes the space id and flags to a tablespace header. The flags contain -row type, physical/compressed page size, and logical/uncompressed page -size of the tablespace. */ -void -fsp_header_init_fields( -/*===================*/ - page_t* page, /*!< in/out: first page in the space */ - ulint space_id, /*!< in: space id */ - ulint flags); /*!< in: tablespace flags (FSP_SPACE_FLAGS): - 0, or table->flags if newer than COMPACT */ /** Initialize a tablespace header. @param[in,out] space tablespace @param[in] size current size in blocks diff --git a/storage/innobase/include/log0log.h b/storage/innobase/include/log0log.h index 0fe7b22fb04..ca792f9e439 100644 --- a/storage/innobase/include/log0log.h +++ b/storage/innobase/include/log0log.h @@ -623,9 +623,8 @@ public: /*!< number of currently pending checkpoint writes */ - /** buffer for checkpoint header */ - MY_ALIGNED(OS_FILE_LOG_BLOCK_SIZE) - byte checkpoint_buf[OS_FILE_LOG_BLOCK_SIZE]; + /** buffer for checkpoint header */ + byte *checkpoint_buf; /* @} */ private: |