Debian Codegraph @

mysql-test/suite/maria/aria_pack_mdev14183.test

raw
1 --source include/have_aria.inc
2 --source include/have_debug.inc
3 --source include/not_embedded.inc
4
5 CREATE TABLE `t` (
6 `col_1` varchar(255) NOT NULL DEFAULT '',
7 `col_2` varchar(255) NOT NULL,
8 `col_3` int(11) NOT NULL DEFAULT '0',
9 `col_4` int(11) NOT NULL DEFAULT '0'
10 ) ENGINE=Aria TRANSACTIONAL=0 PAGE_CHECKSUM=0;
11
12 insert into t values
13 ('foobar','qux',0,0),('abcdef','qux',0,0);
14
15 --let $datadir= `SELECT @@datadir`
16 --source include/shutdown_mysqld.inc
17 # maria_pack crashes by assert() if the bug is not fixed
18 --exec cd $datadir && $MARIA_PACK -t test/t
19
20 --source include/start_mysqld.inc
21 SELECT * FROM t;
22
23 DROP TABLE t;