summaryrefslogtreecommitdiff
path: root/mysql-test/suite/mariabackup/xb_fulltext_encrypted.test
blob: a98d7802d76a323b86ec1b0e5452533da163ccf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
source include/have_file_key_management.inc;

CREATE TABLE film_text (
film_id SMALLINT NOT NULL,
title VARCHAR(255) NOT NULL,
description TEXT,
PRIMARY KEY (film_id),
FULLTEXT KEY idx_title_description (title,description),
FULLTEXT KEY (description),
FULLTEXT KEY (title)
)ENGINE=InnoDB DEFAULT CHARSET=utf8 ENCRYPTED=YES;

let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;

--disable_result_log

exec $INNOBACKUPEX --defaults-file=$MYSQLTEST_VARDIR/my.cnf --no-timestamp $targetdir;
exec $INNOBACKUPEX --apply-log --rebuild-indexes --rebuild-threads=2 $targetdir;
--source include/restart_and_restore.inc

--enable_result_log

drop table film_text;