mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
15 lines
355 B
Text
15 lines
355 B
Text
|
CREATE TABLE t1(c VARCHAR(128)) ENGINE INNODB;
|
||
|
insert into t1 values(repeat('a',100));
|
||
|
select @@innodb_encrypt_tables;
|
||
|
@@innodb_encrypt_tables
|
||
|
ON
|
||
|
# xtrabackup backup
|
||
|
# xtrabackup prepare export
|
||
|
# restart
|
||
|
ALTER TABLE t1 DISCARD TABLESPACE;
|
||
|
ALTER TABLE t1 IMPORT TABLESPACE;
|
||
|
CHECK TABLE t1;
|
||
|
Table Op Msg_type Msg_text
|
||
|
test.t1 check status OK
|
||
|
DROP TABLE t1;
|