summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2017-07-12 14:58:13 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2017-07-12 14:58:13 +0300
commit1e007158b16324c0b8ff29b7ac5cc2825019c03c (patch)
treeaf6390fcb03434a98f7e6a5734fcc0d5909a3e0b /sql/protocol.h
parent9e11e055ce1461caecbb30e8300dfdcd48af22f1 (diff)
downloadmariadb-git-bb-10.1-MDEV-11828.tar.gz
MDEV-11828: innodb_page_size=64k must reject ROW_FORMAT=REDUNDANT records longer than 16383 bytesbb-10.1-MDEV-11828
btr_cur_optimistic_update(): Restrict maximum record size to 16K-1 for REDUNDANT and 64K page size. dict_index_too_big_for_tree(): The maximum allowed record size is half a B-tree page or 16K(-1 for REDUNDANT) for 64K page size. convert_error_code_to_mysql(): Fix error message to print correct limits. my_error_innodb(): Fix error message to print correct limits. page_zip_rec_needs_ext() : record size was already restricted to 16K. Restrict REDUNDANT to 16K-1. rem0rec.h: Introduce REDUNDANT_REC_MAX_DATA_SIZE (16K-1) and COMPRESSED_REC_MAX_DATA_SIZE (16K).
Diffstat (limited to 'sql/protocol.h')
0 files changed, 0 insertions, 0 deletions