summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/encryption/t/innodb_first_page.test
blob: db4d8eb3b16f5ea422d4f28c8fc8a0c0a9e039ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# MDEV-8021 "InnoDB: Tablespace id 4 encrypted but encryption service not available. Can't continue opening tablespace" on server restart when there are encrypted tables
#

--source include/have_innodb.inc
--source include/have_file_key_management_plugin.inc
--source include/innodb_undo_tablespaces.inc

let $datadir=`select @@datadir`;
--source include/shutdown_mysqld.inc

--remove_file $datadir/ib_logfile0
--remove_file $datadir/ibdata1
--remove_files_wildcard $datadir undo*

--source include/start_mysqld.inc

create table t1 (a int);

--source include/restart_mysqld.inc

drop table t1;