Debian Codegraph @

mysql-test/suite/encryption/r/filekeys_named_pipe.result

raw
1 #
2 # MDEV-9158 file_key_management should support reading from a named pipe
3 #
4 select seq,md5(seq)
5 into outfile 'MYSQLTEST_VARDIR/tmp/fifo-key.txt'
6 fields terminated by ';'
7 from seq_1_to_20000;
8 INSTALL SONAME 'file_key_management';
9 Warnings:
10 Note 1 Read from MYSQLTEST_VARDIR/tmp/fifo.key, read bytes: 768894, max key file size: 1048576 bytes
11 CREATE TABLE t1(c1 BIGINT NOT NULL, b CHAR(200)) ENGINE=INNODB ENCRYPTED=YES ENCRYPTION_KEY_ID=1;
12 SHOW CREATE TABLE t1;
13 Table Create Table
14 t1 CREATE TABLE `t1` (
15 `c1` bigint(20) NOT NULL,
16 `b` char(200) DEFAULT NULL
17 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci `ENCRYPTED`=YES `ENCRYPTION_KEY_ID`=1
18 INSERT t1 VALUES (12345, REPEAT('1234567890', 20));
19 ALTER TABLE t1 ENCRYPTION_KEY_ID=2;
20 SHOW CREATE TABLE t1;
21 Table Create Table
22 t1 CREATE TABLE `t1` (
23 `c1` bigint(20) NOT NULL,
24 `b` char(200) DEFAULT NULL
25 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci `ENCRYPTED`=YES `ENCRYPTION_KEY_ID`=2
26 ALTER TABLE t1 ENCRYPTION_KEY_ID=3;
27 SHOW CREATE TABLE t1;
28 Table Create Table
29 t1 CREATE TABLE `t1` (
30 `c1` bigint(20) NOT NULL,
31 `b` char(200) DEFAULT NULL
32 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci `ENCRYPTED`=YES `ENCRYPTION_KEY_ID`=3
33 # Reset mysqld
34 DROP TABLE t1;
35 UNINSTALL SONAME 'file_key_management';
36 Warnings:
37 Warning 1620 Plugin is busy and will be uninstalled on shutdown
38 # restart