Skip to content

Commit 7c166e6

Browse files
committed
MDEV-14183: aria_pack segfaults in compress_maria_file
Post-push fix. aria_pack_mdev14183 test is unstable. The fix is the following: 1. Disable the test for embedded server. 2. Create non-"transactional" Aria table in the test, as aria_pack does not support "transactional" Aria tables.
1 parent 1f9a043 commit 7c166e6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mysql-test/suite/maria/aria_pack_mdev14183.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CREATE TABLE `t` (
33
`col_2` varchar(255) NOT NULL,
44
`col_3` int(11) NOT NULL DEFAULT '0',
55
`col_4` int(11) NOT NULL DEFAULT '0'
6-
) ENGINE=Aria;
6+
) ENGINE=Aria TRANSACTIONAL=0 PAGE_CHECKSUM=0;
77
insert into t values
88
('foobar','qux',0,0),('abcdef','qux',0,0);
99
Compressing test/t.MAD: (2 records)

mysql-test/suite/maria/aria_pack_mdev14183.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
--source include/have_aria.inc
22
--source include/have_debug.inc
3+
--source include/not_embedded.inc
34

45
CREATE TABLE `t` (
56
`col_1` varchar(255) NOT NULL DEFAULT '',
67
`col_2` varchar(255) NOT NULL,
78
`col_3` int(11) NOT NULL DEFAULT '0',
89
`col_4` int(11) NOT NULL DEFAULT '0'
9-
) ENGINE=Aria;
10+
) ENGINE=Aria TRANSACTIONAL=0 PAGE_CHECKSUM=0;
1011

1112
insert into t values
1213
('foobar','qux',0,0),('abcdef','qux',0,0);

0 commit comments

Comments
 (0)