Commit 7c166e68 authored by Vlad Lesin's avatar Vlad Lesin

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.
parent 1f9a0437
...@@ -3,7 +3,7 @@ CREATE TABLE `t` ( ...@@ -3,7 +3,7 @@ CREATE TABLE `t` (
`col_2` varchar(255) NOT NULL, `col_2` varchar(255) NOT NULL,
`col_3` int(11) NOT NULL DEFAULT '0', `col_3` int(11) NOT NULL DEFAULT '0',
`col_4` 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 insert into t values
('foobar','qux',0,0),('abcdef','qux',0,0); ('foobar','qux',0,0),('abcdef','qux',0,0);
Compressing test/t.MAD: (2 records) Compressing test/t.MAD: (2 records)
......
--source include/have_aria.inc --source include/have_aria.inc
--source include/have_debug.inc --source include/have_debug.inc
--source include/not_embedded.inc
CREATE TABLE `t` ( CREATE TABLE `t` (
`col_1` varchar(255) NOT NULL DEFAULT '', `col_1` varchar(255) NOT NULL DEFAULT '',
`col_2` varchar(255) NOT NULL, `col_2` varchar(255) NOT NULL,
`col_3` int(11) NOT NULL DEFAULT '0', `col_3` int(11) NOT NULL DEFAULT '0',
`col_4` 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 insert into t values
('foobar','qux',0,0),('abcdef','qux',0,0); ('foobar','qux',0,0),('abcdef','qux',0,0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment