mariadb/mysql-test/suite/mariabackup/xb_aws_key_management.result
Vladislav Vaintroub dda40b9304 AWS Key Management : Introduce "mock" variable, available in debug build.
If this variable is set, skip actual AWS calls, and fake/mock
both generation and encryption of the keys.

The advantage of having a mock mode is that more aws_key_management tests
can be enabled on buildbot.
2017-08-28 18:28:07 +00:00

16 lines
466 B
Text

CREATE TABLE t(c VARCHAR(10)) ENGINE INNODB encrypted=yes;
Warnings:
Note 1105 AWS KMS plugin: generated encrypted datakey for key id=1, version=1
Note 1105 AWS KMS plugin: loaded key 1, version 1, key length 128 bit
INSERT INTO t VALUES('foobar1');
# xtrabackup backup
# shutdown server
# remove datadir
# xtrabackup move back
# restart server
SELECT * from t;
c
foobar1
Warnings:
Note 1105 AWS KMS plugin: loaded key 1, version 1, key length 128 bit
DROP TABLE t;