Debian Codegraph @

mysql-test/suite/mariabackup/aria_encrypted.test

raw
1 --source include/have_file_key_management.inc
2 --source include/have_innodb.inc
3 --source include/have_sequence.inc
4
5 --echo #
6 --echo # MDEV-38246 aria_read index failed on encrypted database during backup
7 --echo #
8
9 CREATE TABLE t1 (product_id varchar(32) DEFAULT NULL, d1 date DEFAULT NULL, key(product_id)) engine=aria, row_format=page, transactional=1;
10 CREATE TABLE t2 (product_id varchar(32) DEFAULT NULL, d1 date DEFAULT NULL, key(product_id)) engine=aria, row_format=page, transactional=0;
11
12 insert into t1 select md5(seq), date_add("2025-05-05", interval seq day) from seq_1_to_10000;
13 insert into t2 select md5(seq), date_add("2025-05-05", interval seq day) from seq_1_to_10000;
14
15 let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
16
17 exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --parallel=10 --target-dir=$targetdir;
18 drop table if exists t1,t2;