diff options
author | Jan Lindström <jplindst@mariadb.org> | 2014-05-13 13:28:57 +0300 |
---|---|---|
committer | Jan Lindström <jplindst@mariadb.org> | 2014-05-13 13:28:57 +0300 |
commit | 9d399c9f35ca5a85152adddc1c88a304f87f660c (patch) | |
tree | 6d03009c57a70deaabf788fc384a39463981f7fe /storage/xtradb/page | |
parent | 0eb84da14712a9ca820533dbc1d911b3aead1658 (diff) | |
download | mariadb-git-9d399c9f35ca5a85152adddc1c88a304f87f660c.tar.gz |
MDEV-6075: Allow > 16K pages on InnoDB
This patch allows up to 64K pages for tables with DYNAMIC, COMPACT
and REDUNDANT row types. Tables with COMPRESSED row type allows
still only <= 16K page size. Note that single row size must be
still <= 16K and max key length is not affected.
Diffstat (limited to 'storage/xtradb/page')
-rw-r--r-- | storage/xtradb/page/page0zip.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/page/page0zip.cc b/storage/xtradb/page/page0zip.cc index ed73fb37d41..f8d2f856881 100644 --- a/storage/xtradb/page/page0zip.cc +++ b/storage/xtradb/page/page0zip.cc @@ -658,7 +658,7 @@ page_zip_dir_encode( #if PAGE_ZIP_DIR_SLOT_MASK & (PAGE_ZIP_DIR_SLOT_MASK + 1) # error "PAGE_ZIP_DIR_SLOT_MASK is not 1 less than a power of 2" #endif -#if PAGE_ZIP_DIR_SLOT_MASK < UNIV_PAGE_SIZE_MAX - 1 +#if PAGE_ZIP_DIR_SLOT_MASK < UNIV_PAGE_SIZE_DEF - 1 # error "PAGE_ZIP_DIR_SLOT_MASK < UNIV_PAGE_SIZE_MAX - 1" #endif if (UNIV_UNLIKELY(rec_get_n_owned_new(rec))) { |