Skip to content

Commit

Permalink
MDEV-14183: aria_pack segfaults in compress_maria_file
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vlad-lesin committed Jan 23, 2020
1 parent 1f9a043 commit 7c166e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mysql-test/suite/maria/aria_pack_mdev14183.result
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CREATE TABLE `t` (
`col_2` varchar(255) NOT NULL,
`col_3` int(11) NOT NULL DEFAULT '0',
`col_4` int(11) NOT NULL DEFAULT '0'
) ENGINE=Aria;
) ENGINE=Aria TRANSACTIONAL=0 PAGE_CHECKSUM=0;
insert into t values
('foobar','qux',0,0),('abcdef','qux',0,0);
Compressing test/t.MAD: (2 records)
Expand Down
3 changes: 2 additions & 1 deletion mysql-test/suite/maria/aria_pack_mdev14183.test
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
--source include/have_aria.inc
--source include/have_debug.inc
--source include/not_embedded.inc

CREATE TABLE `t` (
`col_1` varchar(255) NOT NULL DEFAULT '',
`col_2` varchar(255) NOT NULL,
`col_3` int(11) NOT NULL DEFAULT '0',
`col_4` int(11) NOT NULL DEFAULT '0'
) ENGINE=Aria;
) ENGINE=Aria TRANSACTIONAL=0 PAGE_CHECKSUM=0;

insert into t values
('foobar','qux',0,0),('abcdef','qux',0,0);
Expand Down

0 comments on commit 7c166e6

Please sign in to comment.