summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/mariabackup/xb_fulltext_encrypted.test
blob: f7b72b5cceab092f23bd2790644c222c4efc21d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#--source include/innodb_page_size.inc
--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 $targetdir;
--source include/restart_and_restore.inc

--enable_result_log

drop table film_text;