File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -1081,9 +1081,11 @@ COMMIT;
1081
1081
drop table t2;
1082
1082
DROP TABLE t1;
1083
1083
#
1084
- # MDEV-19526 heap number overflow
1084
+ # MDEV-19526/MDEV-29742 heap number overflow
1085
1085
#
1086
1086
CREATE TABLE t1(a SMALLINT NOT NULL UNIQUE AUTO_INCREMENT, KEY(a))
1087
1087
ENGINE=InnoDB;
1088
1088
INSERT INTO t1 (a) SELECT seq FROM seq_1_to_8191;
1089
+ ALTER TABLE t1 FORCE, ALGORITHM=INPLACE;
1089
1090
DROP TABLE t1;
1091
+ # End of 10.3 tests
Original file line number Diff line number Diff line change @@ -641,9 +641,12 @@ drop table t2;
641
641
DROP TABLE t1;
642
642
643
643
--echo #
644
- --echo # MDEV-19526 heap number overflow
644
+ --echo # MDEV-19526/MDEV-29742 heap number overflow
645
645
--echo #
646
646
CREATE TABLE t1(a SMALLINT NOT NULL UNIQUE AUTO_INCREMENT, KEY(a))
647
647
ENGINE=InnoDB;
648
648
INSERT INTO t1 (a) SELECT seq FROM seq_1_to_8191;
649
+ ALTER TABLE t1 FORCE, ALGORITHM=INPLACE;
649
650
DROP TABLE t1;
651
+
652
+ --echo # End of 10.3 tests
Original file line number Diff line number Diff line change 1
1
/* ****************************************************************************
2
2
3
3
Copyright (c) 2014, 2019, Oracle and/or its affiliates. All Rights Reserved.
4
- Copyright (c) 2017, 2021 , MariaDB Corporation.
4
+ Copyright (c) 2017, 2022 , MariaDB Corporation.
5
5
6
6
This program is free software; you can redistribute it and/or modify it under
7
7
the terms of the GNU General Public License as published by the Free Software
@@ -597,6 +597,11 @@ bool
597
597
PageBulk::isSpaceAvailable (
598
598
ulint rec_size)
599
599
{
600
+ if (m_rec_no >= 8190 ) {
601
+ ut_ad (srv_page_size == 65536 );
602
+ return false ;
603
+ }
604
+
600
605
ulint slot_size;
601
606
ulint required_space;
602
607
You can’t perform that action at this time.
0 commit comments