diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-12 18:21:53 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-12 18:21:53 +0300 |
commit | efd8af535a4fa4aa3dd89a325340b6eb648e1bc8 (patch) | |
tree | 10958f931cf8428ec2a59d8cff359fe3b20f548b /randgen | |
parent | 7ad4709a3b621c6fe56d653a2bb5018bf4234875 (diff) | |
download | mariadb-git-efd8af535a4fa4aa3dd89a325340b6eb648e1bc8.tar.gz |
MDEV-19526 heap number overflow on innodb_page_size=64k
InnoDB only reserves 13 bits for the heap number in the record header,
limiting the heap number to be at most 8191. But, when using
innodb_page_size=64k and secondary index records of 7 bytes each,
it is possible to exceed the maximum heap number.
btr_cur_optimistic_insert(): Let the operation fail if the
maximum number of records would be exceeded.
page_mem_alloc_heap(): Move to the same compilation unit with the
only caller, and let the operation fail if the maximum heap number
has been allocated already.
Diffstat (limited to 'randgen')
0 files changed, 0 insertions, 0 deletions