Debian Codegraph @

mysql-test/suite/encryption/t/filekeys_secret_openssl_rand_128bits.test

raw
1 -- source include/have_innodb.inc
2 -- source filekeys_plugin.inc
3
4 create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
5 show create table t1;
6 insert t1 values (12345, repeat('1234567890', 20));
7
8 alter table t1 encryption_key_id=2;
9 show create table t1;
10
11 drop table t1;
12
13 --echo # Test checks if opening an too large secret does not crash the server.